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: 726b854870 ("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>
This commit is contained in:
committed by
Martin K. Petersen
parent
25ad76b703
commit
2d73ac6102
@@ -1574,7 +1574,7 @@ qla24xx_els_ct_entry(scsi_qla_host_t *vha, struct req_que *req,
|
||||
/* borrowing sts_entry_24xx.comp_status.
|
||||
same location as ct_entry_24xx.comp_status
|
||||
*/
|
||||
res = qla2x00_chk_ms_status(vha, (ms_iocb_entry_t *)pkt,
|
||||
res = qla2x00_chk_ms_status(sp->vha, (ms_iocb_entry_t *)pkt,
|
||||
(struct ct_sns_rsp *)sp->u.iocb_cmd.u.ctarg.rsp,
|
||||
sp->name);
|
||||
sp->done(sp, res);
|
||||
|
||||
Reference in New Issue
Block a user