scsi: qla2xxx: Serialize GPNID for multiple RSCN
authorQuinn Tran <quinn.tran@cavium.com>
Mon, 4 Dec 2017 22:45:02 +0000 (14:45 -0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 8 Dec 2017 02:07:03 +0000 (21:07 -0500)
commit2d73ac6102d943c4be4945735a338005359c6abc
tree289aa4d960a737eb33a1de6b784617c79374ff8a
parent25ad76b703d9ad536f3411b15b1070aeb059ab55
scsi: qla2xxx: Serialize GPNID for multiple RSCN

GPNID is triggered by RSCN. For multiple RSCNs of the same affected
NPORT ID, serialize the GPNID to prevent confusion.

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_def.h
drivers/scsi/qla2xxx/qla_gs.c
drivers/scsi/qla2xxx/qla_isr.c
drivers/scsi/qla2xxx/qla_os.c