]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
scsi: qla2xxx: Fix re-login for Nport Handle in use
authorQuinn Tran <quinn.tran@cavium.com>
Mon, 4 Dec 2017 22:45:00 +0000 (14:45 -0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 8 Dec 2017 02:07:02 +0000 (21:07 -0500)
commita084fd68e1d26174c4cc1a13fbb0112f468ff7f4
treee0f1268456ae180c23ad73a187ee6a9606dd8e88
parentd68b850e1bfb9afb24b888a946165a186a710195
scsi: qla2xxx: Fix re-login for Nport Handle in use

When NPort Handle is in use, driver needs to mark the handle as used and
pick another. Instead, the code clears the handle and re-pick the same
handle.

Fixes: 726b85487067d ("qla2xxx: Add framework for async fabric discovery")
Cc: <stable@vger.kernel.org> # 4.10+
Signed-off-by: Quinn Tran <quinn.tran@cavium.com>
Signed-off-by: Himanshu Madhani <himanshu.madhani@cavium.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qla2xxx/qla_gs.c
drivers/scsi/qla2xxx/qla_init.c
drivers/scsi/qla2xxx/qla_isr.c