summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/scsi.h
diff options
context:
space:
mode:
authorBhanu Prakash Gollapudi <bprakash@broadcom.com>2011-08-04 17:38:39 -0700
committerJames Bottomley <JBottomley@Parallels.com>2011-08-27 08:35:30 -0600
commitcdf54668bc48193e43adc8f75ce419ce0ce50fc0 (patch)
treed15e76c2f1ce2bddabb92799791920acb86d6e2a /drivers/scsi/scsi.h
parentb65d457913d1c0644394287d5d834373f42fb99a (diff)
downloadblackbird-obmc-linux-cdf54668bc48193e43adc8f75ce419ce0ce50fc0.tar.gz
blackbird-obmc-linux-cdf54668bc48193e43adc8f75ce419ce0ce50fc0.zip
[SCSI] bnx2fc: Do not attempt destroying NPIV port twice
When NPIV ports are created/deleted rapidly there is a race condition between bnx2fc_vport_destroy() from sysfs and bnx2fc_flogi_resp(), which could try to delete the NPIV port from the list twice. Fix is to loop through the list of NPIV ports to find a match, and only when it exists remove it. Signed-off-by: Bhanu Prakash Gollapudi <bprakash@broadcom.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/scsi.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud