mbox series

[v3,0/3] qla2xxx: Fix crashes with FC-NVMe devices

Message ID 20190621165024.23874-1-hmadhani@marvell.com (mailing list archive)
Headers show
Series qla2xxx: Fix crashes with FC-NVMe devices | expand

Message

Himanshu Madhani June 21, 2019, 4:50 p.m. UTC
Hi Martin,

This series fixes crash during abort handling with FC-NVMe devices. 
Also, we discovered race condition between nvme command and ls completion
with FC-NVMe devices.

Please apply this series to 5.3/scsi-queue at your earliest convenience.

Thanks,
Himanshu

Changes from v2 -> v3
o Change to single kref_put call.
o Move fcport null check before referencing it.

Changes from v1 -> v2
o Removed now unused qla_is_active_nvme_fcport function.

Arun Easi (1):
  qla2xxx: Fix kernel crash after disconnecting NVMe devices

Quinn Tran (2):
  qla2xxx: on session delete return nvme cmd
  qla2xxx: Fix NVME cmd and LS cmd timeout race condition

 drivers/scsi/qla2xxx/qla_def.h  |   4 +-
 drivers/scsi/qla2xxx/qla_nvme.c | 226 +++++++++++++++++++++++++---------------
 drivers/scsi/qla2xxx/qla_nvme.h |   2 +-
 drivers/scsi/qla2xxx/qla_os.c   |   1 -
 4 files changed, 145 insertions(+), 88 deletions(-)

Comments

Martin K. Petersen June 27, 2019, 4:12 a.m. UTC | #1
Himanshu,

> This series fixes crash during abort handling with FC-NVMe devices.
> Also, we discovered race condition between nvme command and ls
> completion with FC-NVMe devices.

Applied to 5.3/scsi-queue.