linux_dsm_epyc7002/drivers/scsi/qla2xxx
Roland Dreier 9bfacd01dc [SCSI] qla2xxx: Fix crash in qla2x00_abort_all_cmds() on unload
I hit a crash in qla2x00_abort_all_cmds() if the qla2xxx module is
unloaded right after it is loaded.  I debugged this down to the abort
handling improperly treating a command of type SRB_ADISC_CMD as if it
had a bsg_job to complete when that command actually uses the iocb_cmd
part of the union.  (I guess to hit this one has to unload the module
while the async FC initialization is still in progress)

It seems we should only look for a bsg_job if type is SRB_ELS_CMD_RPT,
SRB_ELS_CMD_HST or SRB_CT_CMD, so switch the test to make that explicit.

Signed-off-by: Roland Dreier <roland@purestorage.com>
Acked-by: Chad Dupuis <chad.dupuis@qlogic.com>
Cc: stable@kernel.org
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
2011-10-02 11:58:30 -05:00
..
Kconfig [SCSI] qla2xxx: Update firmware filenames for new ISP parts. 2008-04-07 12:19:11 -05:00
Makefile [SCSI] qla2xxx: Add ISP82XX support. 2010-05-01 14:11:17 -05:00
qla_attr.c [SCSI] qla2xxx: T10 DIF - Fix incorrect error reporting. 2011-08-27 08:13:52 -06:00
qla_bsg.c [SCSI] qla2xxx: Code changes to support new dynamic logging infrastructure. 2011-07-27 14:16:17 +04:00
qla_bsg.h [SCSI] qla2xxx: Update copyright banner. 2011-05-01 10:07:23 -05:00
qla_dbg.c [SCSI] qla2xxx: T10 DIF - Fix incorrect error reporting. 2011-08-27 08:13:52 -06:00
qla_dbg.h [SCSI] qla2xxx: Cleanup of previous infrastructure. 2011-07-27 14:16:34 +04:00
qla_def.h [SCSI] qla2xxx: T10 DIF - Fix incorrect error reporting. 2011-08-27 08:13:52 -06:00
qla_devtbl.h [SCSI] qla2xxx: fix Kernel Panic with Qlogic 2472 Card. 2009-02-10 11:15:18 -05:00
qla_dfs.c [SCSI] qla2xxx: Code changes to support new dynamic logging infrastructure. 2011-07-27 14:16:17 +04:00
qla_fw.h [SCSI] qla2xxx: T10 DIF - Handle uninitalized sectors. 2011-08-27 07:55:46 -06:00
qla_gbl.h [SCSI] qla2xxx: Code changes to support new dynamic logging infrastructure. 2011-07-27 14:16:17 +04:00
qla_gs.c [SCSI] qla2xxx: Code changes to support new dynamic logging infrastructure. 2011-07-27 14:16:17 +04:00
qla_init.c [SCSI] qla2xxx: Correct inadvertent loop state transitions during port-update handling. 2011-08-27 08:21:26 -06:00
qla_inline.h [SCSI] qla2xxx: T10 DIF - Fix incorrect error reporting. 2011-08-27 08:13:52 -06:00
qla_iocb.c [SCSI] qla2xxx: T10 DIF - Fix incorrect error reporting. 2011-08-27 08:13:52 -06:00
qla_isr.c scsi: fix qla2xxx printk format warning 2011-09-23 16:02:33 -07:00
qla_mbx.c [SCSI] qla2xxx: Code changes to support new dynamic logging infrastructure. 2011-07-27 14:16:17 +04:00
qla_mid.c [SCSI] qla2xxx: T10 DIF - Fix incorrect error reporting. 2011-08-27 08:13:52 -06:00
qla_nx.c [SCSI] qla2xxx: Set the task attributes after memsetting fcp cmnd. 2011-08-27 08:22:09 -06:00
qla_nx.h [SCSI] qla2xxx: Update copyright banner. 2011-05-01 10:07:23 -05:00
qla_os.c [SCSI] qla2xxx: Fix crash in qla2x00_abort_all_cmds() on unload 2011-10-02 11:58:30 -05:00
qla_settings.h [SCSI] qla2xxx: Update copyright banner. 2011-05-01 10:07:23 -05:00
qla_sup.c [SCSI] qla2xxx: Code changes to support new dynamic logging infrastructure. 2011-07-27 14:16:17 +04:00
qla_version.h [SCSI] qla2xxx: Update version number to 8.03.07.07-k. 2011-08-27 08:23:28 -06:00