From: Bhanu Prakash Gollapudi Date: Tue, 30 Aug 2011 22:54:52 +0000 (-0700) Subject: [SCSI] bnx2fc: Fix panic caused because of incorrect errror handling in create(). X-Git-Tag: v3.2-rc1~125^2~102 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=013068fa6f65f7037adedc141fbd27afc99ab1bb;p=pandora-kernel.git [SCSI] bnx2fc: Fix panic caused because of incorrect errror handling in create(). Driver incorrectly calls bnx2fc_interface_cleanup() when bnx2fc_if_create fails which accesses bad pointer. Handle bnx2fc_if_create failure by directly calling bnx2fc_net_cleanup. Signed-off-by: Bhanu Prakash Gollapudi Signed-off-by: James Bottomley --- Reading git-diff-tree failed