scsi: qla2xxx: Fix NVMe session hang on unload
authorQuinn Tran <quinn.tran@cavium.com>
Thu, 27 Sep 2018 05:05:11 +0000 (22:05 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 28 Sep 2018 00:15:05 +0000 (20:15 -0400)
commitf7d61c995df74d6bb57bbff6a2b7b1874c4a2baa
treef1963cf9037d81130f79d4ef90d52933599753b9
parent1703659dada8a5bfe9c31db6436792cbca1e26ea
scsi: qla2xxx: Fix NVMe session hang on unload

Send aborts only when chip is active.

Fixes: 623ee824e579 ("scsi: qla2xxx: Fix FC-NVMe IO abort during driver reset")
Cc: <stable@vger.kernel.org> # 4.14
Signed-off-by: Quinn Tran <quinn.tran@cavium.com>
Reviewed-by: Ewan D. Milne <emilne@redhat.com>
Signed-off-by: Himanshu Madhani <himanshu.madhani@cavium.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qla2xxx/qla_nvme.c