]> 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)
commitb7e4923845fbce3ff01a5d5e08f6352feed9420a
treec220652dd78b24042eb510f6736d6ca05e4ffdec
parent788b5390af896b30e882cb1d48660698e10e48bb
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