]> git.baikalelectronics.ru Git - kernel.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)
committerDavid S. Miller <davem@davemloft.net>
Tue, 27 Sep 2016 13:55:18 +0000 (09:55 -0400)
commitd8b76538e650df86588d2135b11802a208db58f4
treec220652dd78b24042eb510f6736d6ca05e4ffdec
parent0fc752880a9fc7eb814888360b27f23cf457be17
bnx2x: free the mac filter group list before freeing the cmd

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>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c