bnx2x: Prevent memory leak when cnic is absent
authorYuval Mintz <yuvalmin@broadcom.com>
Wed, 1 May 2013 04:27:58 +0000 (04:27 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 1 May 2013 19:07:43 +0000 (15:07 -0400)
bnx2x driver allocates searcher T2 tables, but it releases that memory
during unload only released if the cnic is loaded.

Signed-off-by: Yuval Mintz <yuvalmin@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found