diff options
| author | Johannes Thumshirn <[email protected]> | 2017-06-23 09:10:11 +0200 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2017-07-01 16:49:27 -0400 |
| commit | 578079fab3f89eda73d7f3bb3bdfdf650ab1b8ec (patch) | |
| tree | 806db1510aab23d715e98a024dde42b680de6256 /net/switchdev/switchdev.c | |
| parent | f62f9ffdb5ef683ef8cffb43932fa72cc3713e94 (diff) | |
scsi: qla2xxx: Protect access to qpair members with qpair->qp_lock
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.
Signed-off-by: Johannes Thumshirn <[email protected]>
Acked-by: Himanshu Madhani <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions