scsi: qla2xxx: Fix driver hang when FC-NVMe LUNs are configured
authorHimanshu Madhani <himanshu.madhani@cavium.com>
Thu, 27 Sep 2018 05:05:15 +0000 (22:05 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 28 Sep 2018 00:15:05 +0000 (20:15 -0400)
commit39553065f77c297239308470ee313841f4e07db4
tree8efa9fd6577a76c22019f1ddd569773f911838d4
parent5c6400536481d9ef44ef94e7bf2c7b8e81534db7
scsi: qla2xxx: Fix driver hang when FC-NVMe LUNs are configured

This patch fixes multiple call for qla_nvme_unregister_remote_port() as part
of qlt_schedule_session_for_deletion(), Do not call it again during
qla_nvme_delete()

Fixes: e473b3074104 ("scsi: qla2xxx: Add FC-NVMe abort processing")
Cc: <stable@vger.kernel.org>
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