aboutsummaryrefslogtreecommitdiff
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorBhanu Prakash Gollapudi <bprakash@broadcom.com>2011-05-27 11:47:27 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2011-10-03 11:41:05 -0700
commit49aa932d3fe9c6b175d30d9e9d575f532f650cfc (patch)
tree603b42a58f70db9c7444ee752c5ee06f8222226e /scripts/patch-kernel
parente888ec89ef2ac191e71c79382ba26e0290f7d2ca (diff)
bnx2fc: Fix kernel panic when deleting NPIV ports
commit d36b3279e157641c345b12eddb3db78fb42da80f upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions