]> git.baikalelectronics.ru Git - 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)
commitb05df7549d219fc00535d354f3ee369a46d21402
treeff0092e0b08cc03974764a445bee9cf560a8aa70
parent69fa72e7303a652fa9db5a5158f2cb7ae26e1ed8
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