summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorBhanu Prakash Gollapudi <bprakash@broadcom.com>2011-05-27 20:47:27 +0200
committerJames Bottomley <JBottomley@Parallels.com>2011-06-29 18:02:09 +0200
commitd36b3279e157641c345b12eddb3db78fb42da80f (patch)
treea4b1a9a40930728bde81b569f67f2f708384b25d /kernel
parent[SCSI] bnx2fc: scsi_dma_unmap() not invoked on IO completions (diff)
downloadlinux-d36b3279e157641c345b12eddb3db78fb42da80f.tar.xz
linux-d36b3279e157641c345b12eddb3db78fb42da80f.zip
[SCSI] bnx2fc: Fix kernel panic when deleting NPIV ports
Deleting NPIV port causes a kernel panic when the NPIV port is in the same zone as the physical port and shares the same LUN. This happens due to the fact that vport destroy and unsolicited ELS are scheduled to run on the same workqueue, and vport destroy destroys the lport and the unsolicited ELS tries to access the invalid lport. This patch fixes this issue by maintaining a list of valid lports and verifying if the lport is valid or not before accessing it. Signed-off-by: Bhanu Prakash Gollapudi <bprakash@broadcom.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions