]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
scsi: lpfc: Fix NVME LS abort_xri
authorJames Smart <jsmart2021@gmail.com>
Tue, 21 Nov 2017 00:00:32 +0000 (16:00 -0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 5 Dec 2017 01:32:54 +0000 (20:32 -0500)
commit422c4cb7e9d6eaff09ef3d6782819c0e2741fbba
treeff0092e0b08cc03974764a445bee9cf560a8aa70
parente4b9794efdce13242f4af6682f3ed48ce3864a87
scsi: lpfc: Fix NVME LS abort_xri

Performing an LS abort results in the following message being seen:
  0603 Invalid CQ subtype 6: 00000300 22000002 ffff0016 d0050000
and the associated exchange is not properly freed.

The code did not recognize the exchange type that was aborted, thus it
was not properly handled.

Correct by adding the NVME LS ELS type to the exchange types that are
recognized.

Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com>
Signed-off-by: James Smart <james.smart@broadcom.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/lpfc/lpfc_sli.c