]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: qla2xxx: Fix stuck session in PLOGI state
authorQuinn Tran <quinn.tran@cavium.com>
Tue, 11 Sep 2018 17:18:20 +0000 (10:18 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 12 Sep 2018 00:28:10 +0000 (20:28 -0400)
commitc1d9037bdb7c503d2678d4359cc76a10498232df
tree556cdc81791ec1d9b9b933fdedd6eff212aa5277
parent5a89dfbccd2c1b656372bd362419d84c9213979a
scsi: qla2xxx: Fix stuck session in PLOGI state

On PLOGI complete + RSCN received, driver tries to handle RSCN but failed to
reset the session back to the beginning to restart the login process. Instead
the session was left in the Plogi complete without moving forward.  This patch
will push the session state back to the delete state and restart the
connection.

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_init.c
drivers/scsi/qla2xxx/qla_target.c