scsi: qla2xxx: Recheck session state after RSCN
authorQuinn Tran <quinn.tran@cavium.com>
Wed, 23 Aug 2017 22:05:21 +0000 (15:05 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 25 Aug 2017 02:29:31 +0000 (22:29 -0400)
commita07fc0a42e9ae76e93235f59b089986dc1b751c8
tree17456937824923a133234d446c58aef534d1f95d
parentd213a4b7a57175b5025392b2c2e29a2f14f06bc5
scsi: qla2xxx: Recheck session state after RSCN

When RSCN is delivered for specific remote port. Use ADISC to verify the
session is still valid or not.

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_gbl.h
drivers/scsi/qla2xxx/qla_gs.c
drivers/scsi/qla2xxx/qla_init.c