]> www.infradead.org Git - users/jedix/linux-maple.git/commit
qla2xxx: Recheck session state after RSCN.
authorQuinn Tran <quinn.tran@cavium.com>
Fri, 3 Nov 2017 14:22:15 +0000 (19:52 +0530)
committerSomasundaram Krishnasamy <somasundaram.krishnasamy@oracle.com>
Fri, 5 Jan 2018 21:05:16 +0000 (13:05 -0800)
commitbf88a743efcbae62f2a6bdd085906b8c934014d4
treec6121c651e7bee416ba4acfdb372d1fcfcc772e1
parent928c4be5bdf39b85bbb8e96b5f0c322f15264ee2
qla2xxx: Recheck session state after RSCN.

Orabug: 27235104

when RSCN is delivered for specific remote port,
the switch say the remote port is still up and
current state of the remote port/session is good,
don't trust the state.  Instead use ADISC to very
the session is still valid or not.

Signed-off-by: Quinn Tran <quinn.tran@cavium.com>
Signed-off-by: Sawan Chandak <sawan.chandak@cavium.com>
[ Upstream commit a07fc0a42e9ae76e93235f59b089986dc1b751c8 ]
Signed-off-by: Somasundaram Krishnasamy <somasundaram.krishnasamy@oracle.com>
Reviewed-by: Jack Vogel <jack.vogel@oracle.com>
drivers/scsi/qla2xxx/qla_gbl.h
drivers/scsi/qla2xxx/qla_gs.c
drivers/scsi/qla2xxx/qla_init.c