]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bnx2x: free the mac filter group list before freeing the cmd
authorjbaron@akamai.com <jbaron@akamai.com>
Mon, 26 Sep 2016 15:00:44 +0000 (11:00 -0400)
committerChuck Anderson <chuck.anderson@oracle.com>
Mon, 27 Feb 2017 02:03:28 +0000 (18:03 -0800)
commit2e18f10dfd55ec5dee6ce356393eb3e7f91be215
tree0d6439e6ae15393052d649e5a54586f51bf02690
parent9e58f19a917e02aed7f18b6fd8dec5fff9169329
bnx2x: free the mac filter group list before freeing the cmd

Orabug: 25477835

The group list must be freed prior to freeing the command otherwise
we have a use-after-free.

Signed-off-by: Jason Baron <jbaron@akamai.com>
Cc: Yuval Mintz <Yuval.Mintz@qlogic.com>
Cc: Ariel Elior <Ariel.Elior@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit e96e0eded1335b9cfac71fcdd989d682eb3f8412)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c