summaryrefslogtreecommitdiff
path: root/drivers/scsi/bnx2fc/bnx2fc_tgt.c
diff options
context:
space:
mode:
authorBhanu Prakash Gollapudi <bprakash@broadcom.com>2011-08-30 15:54:52 -0700
committerJames Bottomley <JBottomley@Parallels.com>2011-09-17 18:05:33 +0400
commit013068fa6f65f7037adedc141fbd27afc99ab1bb (patch)
treeb2766fb68859ab509f2036d528af7dc85e774e45 /drivers/scsi/bnx2fc/bnx2fc_tgt.c
parent0cbf32e1681d870632a1772601cbaadd996dc978 (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>
Diffstat (limited to 'drivers/scsi/bnx2fc/bnx2fc_tgt.c')
0 files changed, 0 insertions, 0 deletions