aboutsummaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorJohannes Thumshirn <[email protected]>2017-06-23 09:10:11 +0200
committerMartin K. Petersen <[email protected]>2017-07-01 16:49:27 -0400
commit578079fab3f89eda73d7f3bb3bdfdf650ab1b8ec (patch)
tree806db1510aab23d715e98a024dde42b680de6256 /net/switchdev/switchdev.c
parentf62f9ffdb5ef683ef8cffb43932fa72cc3713e94 (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