linux/drivers/scsi/qla2xxx
Alexei Potashnik e52a8b45b9 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>
2015-07-24 14:19:42 -07:00
..
Kconfig qla2xxx: Add support to load firmware from file for ISP 26XX/27XX. 2015-04-10 08:41:50 -07:00
Makefile
qla_attr.c qla2xxx: Enable target mode for ISP27XX 2015-07-24 14:18:55 -07:00
qla_bsg.c qla2xxx: Add missing ISP27xx checks to optrom code. 2014-09-25 14:25:04 +02:00
qla_bsg.h
qla_dbg.c qla2xxx: added sess generations to detect RSCN update races 2015-07-24 14:19:41 -07:00
qla_dbg.h
qla_def.h qla2xxx: added sess generations to detect RSCN update races 2015-07-24 14:19:41 -07:00
qla_devtbl.h
qla_dfs.c scsi: print single-character strings with seq_putc 2015-02-02 09:57:46 -08:00
qla_fw.h qla2xxx: Honor FCP_RSP retry delay timer field. 2014-09-25 14:25:04 +02:00
qla_gbl.h qla2xxx: remove redundant declaration in 'qla_gbl.h' 2014-11-12 11:32:01 +01:00
qla_gs.c qla2xxx: Add FDMI-2 functionality. 2014-09-25 14:25:02 +02:00
qla_init.c qla2xxx: disable scsi_transport_fc registration in target mode 2015-07-24 14:19:41 -07:00
qla_inline.h qla2xxx: Honor FCP_RSP retry delay timer field. 2014-09-25 14:25:04 +02:00
qla_iocb.c qla2xxx: delay plogi/prli ack until existing sessions are deleted 2015-07-24 14:19:39 -07:00
qla_isr.c qla2xxx: Fix indentation 2015-06-13 08:51:39 -07:00
qla_mbx.c qla2xxx: Enable target mode for ISP27XX 2015-07-24 14:18:55 -07:00
qla_mid.c SCSI misc on 20150416 2015-04-16 19:02:04 -04:00
qla_mr.c scsi: remove abuses of scsi_populate_tag 2014-11-12 11:19:41 +01:00
qla_mr.h qla2xxx: Adjust adapter reset routine to the changes in firmware specification for ISPFx00. 2014-05-19 13:31:03 +02:00
qla_nx2.c qla2xxx: Fix indentation 2015-06-13 08:51:39 -07:00
qla_nx2.h qla2xxx: Check the QLA8044_CRB_DRV_ACTIVE_INDEX register when we are not the owner of the reset. 2014-05-19 13:31:04 +02:00
qla_nx.c qla2xxx: Fix indentation 2015-06-13 08:51:39 -07:00
qla_nx.h
qla_os.c qla2xxx: disable scsi_transport_fc registration in target mode 2015-07-24 14:19:41 -07:00
qla_settings.h
qla_sup.c qla2xxx: Enable target mode for ISP27XX 2015-07-24 14:18:55 -07:00
qla_target.c qla2xxx: drop cmds/tmrs arrived while session is being deleted 2015-07-24 14:19:42 -07:00
qla_target.h qla2xxx: added sess generations to detect RSCN update races 2015-07-24 14:19:41 -07:00
qla_tmpl.c qla2xxx: Prevent multiple firmware dump collection for ISP27XX. 2015-04-10 08:42:49 -07:00
qla_tmpl.h qla2xxx: ISP27xx fwdump template error print simplification. 2014-09-25 14:25:02 +02:00
qla_version.h qla2xxx: Update driver version to 8.07.00.18-k 2015-04-10 08:43:17 -07:00
tcm_qla2xxx.c qla2xxx: delay plogi/prli ack until existing sessions are deleted 2015-07-24 14:19:39 -07:00
tcm_qla2xxx.h target: move transport ID handling to the core 2015-05-30 22:42:30 -07:00