From: Yuval Mintz Date: Wed, 24 Apr 2013 01:45:01 +0000 (+0000) Subject: bnx2x: Fix memory leak X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~65^2~41^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2f7a312230e0d24e8913e7eff7b24d34b7092fcd;p=pandora-kernel.git bnx2x: Fix memory leak There exists an `allocation race' between the CNIC and bnx2x drivers, in which both drivers allocate the same t2 memory while disregarding a possible previous allocation. Additionally, due to the current order of memory releases, some of the ILT memory in the driver is not released correctly when unloading the driver. Signed-off-by: Yuval Mintz Signed-off-by: Ariel Elior Signed-off-by: Eilon Greenstein Signed-off-by: David S. Miller --- Reading git-diff-tree failed