commit | 013068fa6f65f7037adedc141fbd27afc99ab1bb | [log] [tgz] |
---|---|---|
author | Bhanu Prakash Gollapudi <bprakash@broadcom.com> | Tue Aug 30 15:54:52 2011 -0700 |
committer | James Bottomley <JBottomley@Parallels.com> | Sat Sep 17 18:05:33 2011 +0400 |
tree | b2766fb68859ab509f2036d528af7dc85e774e45 | |
parent | 0cbf32e1681d870632a1772601cbaadd996dc978 [diff] |
[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 <bprakash@broadcom.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>