Re: [PATCH v2] qla2xxx: Protect access to qpair members with qpair->qp_lock

From: Martin K. Petersen
Date: Sat Jul 01 2017 - 16:50:59 EST



Johannes,

> In qla2xx_start_scsi_mq() and qla2xx_dif_start_scsi_mq() we grab the
> qpair->qp_lock but do access members of the qpair before having the lock.
> Re-order the locking sequence to have all read and write access to qpair
> members under the qpair->qp_lock.

Applied to 4.13/scsi-queue.

--
Martin K. Petersen Oracle Linux Engineering