summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla2xxx/tcm_qla2xxx.c
diff options
context:
space:
mode:
authorAlexei Potashnik <alexei@purestorage.com>2015-07-14 16:00:48 -0400
committerNicholas Bellinger <nab@linux-iscsi.org>2015-07-24 14:19:42 -0700
commite52a8b45b9c782937f74b701f8c656d4e5619eb5 (patch)
tree7b0a0e0824683f8ad0342b792769c436b42dcde7 /drivers/scsi/qla2xxx/tcm_qla2xxx.c
parentd20ed91bb60ca54c42e3326251287ec51ed225a1 (diff)
downloadlinux-e52a8b45b9c782937f74b701f8c656d4e5619eb5.tar.bz2
qla2xxx: drop cmds/tmrs arrived while session is being deleted
If a new initiator (different WWN) shows up on the same fcport, old initiator's session is scheduled for deletion. But there is a small window between it being marked with QLA_SESS_DELETION_IN_PROGRESS and qlt_unret_sess getting called when new session's commands will keep finding old session in the fcport map. This patch drops cmds/tmrs if they find session in the progress of being deleted. Cc: <stable@vger.kernel.org> # v3.18+ Signed-off-by: Alexei Potashnik <alexei@purestorage.com> Acked-by: Quinn Tran <quinn.tran@qlogic.com> Signed-off-by: Himanshu Madhani <himanshu.madhani@qlogic.com> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/scsi/qla2xxx/tcm_qla2xxx.c')
0 files changed, 0 insertions, 0 deletions