]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: qla2xxx: edif: Fix n2n discovery issue with secure target
authorQuinn Tran <qutran@marvell.com>
Tue, 7 Jun 2022 04:46:25 +0000 (21:46 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Aug 2022 12:23:39 +0000 (14:23 +0200)
commitedc1201045ff760ef284f9fd9e842df2222dc8b6
treedede34dc9ef8ed36c85d09ba2c3c46661c97642e
parent2ae75d2a7b6a0082b99c8e454f65dd4d8f3fe093
scsi: qla2xxx: edif: Fix n2n discovery issue with secure target

[ Upstream commit a59e57c4fb317ed7908fe395b45bd3bce8cc6f07 ]

User failed to see disk via n2n topology. Driver used up all login retries
before authentication application started. When authentication application
started, driver did not have enough login retries to connect securely. On
app_start, driver will reset the login retry attempt count.

Link: https://lore.kernel.org/r/20220607044627.19563-10-njavali@marvell.com
Fixes: 03d1f5917d23 ("scsi: qla2xxx: edif: Add N2N support for EDIF")
Signed-off-by: Quinn Tran <qutran@marvell.com>
Signed-off-by: Nilesh Javali <njavali@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/scsi/qla2xxx/qla_edif.c