linux/drivers/scsi/qla2xxx
Giridhar Malavali 740e29358e scsi: qla2xxx: Set the SCSI command result before calling the command done
This patch tries to address race condition between abort handler and
completion handler. When scsi command result is set by both abort and
completion handler, scsi_done() is only called after refcount on SRB
structure goes to zero. The abort handler sets this result prematurely even
when the refcount is non-zero value. Fix this by setting SCSI cmd->result
before scsi_done() is called.

Signed-off-by: Giridhar Malavali <gmalavali@marvell.com>
Signed-off-by: Himanshu Madhani <hmadhani@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2019-04-03 23:11:36 -04:00
..
Kconfig
Makefile
qla_attr.c scsi: qla2xxx: Add 28xx flash primary/secondary status/image mechanism 2019-03-19 12:22:55 -04:00
qla_bsg.c scsi: qla2xxx: Fix a small typo in qla_bsg.c 2019-03-19 17:33:51 -04:00
qla_bsg.h scsi: qla2xxx: Add 28xx flash primary/secondary status/image mechanism 2019-03-19 12:22:55 -04:00
qla_dbg.c scsi: qla2xxx: Cleanups for NVRAM/Flash read/write path 2019-03-19 12:22:54 -04:00
qla_dbg.h scsi: qla2xxx: Cleanups for NVRAM/Flash read/write path 2019-03-19 12:22:54 -04:00
qla_def.h scsi: qla2xxx: Secure flash update support for ISP28XX 2019-03-19 12:22:55 -04:00
qla_devtbl.h
qla_dfs.c scsi: qla2xxx: Add Device ID for ISP28XX 2019-03-19 12:22:54 -04:00
qla_fw.h scsi: qla2xxx: Secure flash update support for ISP28XX 2019-03-19 12:22:55 -04:00
qla_gbl.h scsi: qla2xxx: Secure flash update support for ISP28XX 2019-03-19 12:22:55 -04:00
qla_gs.c scsi: qla2xxx: Cleanups for NVRAM/Flash read/write path 2019-03-19 12:22:54 -04:00
qla_init.c scsi: qla2xxx: Secure flash update support for ISP28XX 2019-03-19 12:22:55 -04:00
qla_inline.h scsi: qla2xxx: Add mode control for each physical port 2018-09-11 20:28:09 -04:00
qla_iocb.c scsi: qla2xxx: Add Device ID for ISP28XX 2019-03-19 12:22:54 -04:00
qla_isr.c scsi: qla2xxx: Cleanups for NVRAM/Flash read/write path 2019-03-19 12:22:54 -04:00
qla_mbx.c scsi: qla2xxx: Secure flash update support for ISP28XX 2019-03-19 12:22:55 -04:00
qla_mid.c scsi: qla2xxx: Enable FC-NVME on NPIV ports 2018-12-12 20:38:13 -05:00
qla_mr.c scsi: qla2xxx: Secure flash update support for ISP28XX 2019-03-19 12:22:55 -04:00
qla_mr.h
qla_nvme.c scsi: qla2xxx: Check for FW started flag before aborting 2019-02-19 18:58:36 -05:00
qla_nvme.h scsi: qla2xxx: Add First Burst support for FC-NVMe devices 2019-02-19 18:58:35 -05:00
qla_nx2.c scsi: qla2xxx: Update flash read/write routine 2019-03-19 12:22:55 -04:00
qla_nx2.h scsi: qla2xxx: Remove unused symbols 2018-02-12 11:43:24 -05:00
qla_nx.c scsi: qla2xxx: Simplify conditional check again 2019-03-27 21:28:15 -04:00
qla_nx.h
qla_os.c scsi: qla2xxx: Set the SCSI command result before calling the command done 2019-04-03 23:11:36 -04:00
qla_settings.h
qla_sup.c scsi: qla2xxx: Secure flash update support for ISP28XX 2019-03-19 12:22:55 -04:00
qla_target.c scsi: qla2xxx: Add Device ID for ISP28XX 2019-03-19 12:22:54 -04:00
qla_target.h scsi: qla2xxx: Fix DMA error when the DIF sg buffer crosses 4GB boundary 2019-01-11 22:08:15 -05:00
qla_tmpl.c scsi: qla2xxx: Simplification of register address used in qla_tmpl.c 2019-03-19 12:22:55 -04:00
qla_tmpl.h scsi: qla2xxx: Correction and improvement to fwdt processing 2019-03-19 12:22:55 -04:00
qla_version.h scsi: qla2xxx: Update driver version to 10.01.00.15-k 2019-03-19 12:22:55 -04:00
tcm_qla2xxx.c scsi: target/core: Remove the write_pending_status() callback function 2019-02-04 21:23:59 -05:00
tcm_qla2xxx.h scsi: qla2xxx: deadlock by configfs_depend_item 2018-12-19 21:26:38 -05:00