From: Michal Schmidt Date: Thu, 15 Mar 2012 14:08:28 +0000 (+0000) Subject: bnx2x: fix a crash on corrupt firmware file X-Git-Tag: v3.3~2^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=127d0a198a310970b31866af8bbb6d4b1068e546;p=pandora-kernel.git bnx2x: fix a crash on corrupt firmware file If the requested firmware is deemed corrupt and then released, reset the pointer to NULL in order to avoid double-freeing it in bnx2x_release_firmware() or dereferencing it in bnx2x_init_firmware(). Signed-off-by: Michal Schmidt Acked-by: Eilon Greenstein Signed-off-by: David S. Miller --- Reading git-diff-tree failed