summaryrefslogtreecommitdiffstats
path: root/drivers/target
diff options
context:
space:
mode:
authorJames Smart <jsmart2021@gmail.com>2018-09-14 00:41:10 +0200
committerMartin K. Petersen <martin.petersen@oracle.com>2018-09-21 04:02:36 +0200
commit9e210178267b80c4eeb832fade7e146a18c84915 (patch)
treed3dce6607197b83d4d41ac6a2285ce8cbb8c10a4 /drivers/target
parentscsi: ufs: Disable blk-mq for now (diff)
downloadlinux-9e210178267b80c4eeb832fade7e146a18c84915.tar.xz
linux-9e210178267b80c4eeb832fade7e146a18c84915.zip
scsi: lpfc: Synchronize access to remoteport via rport
The driver currently uses the ndlp to get the local rport which is then used to get the nvme transport remoteport pointer. There can be cases where a stale remoteport pointer is obtained as synchronization isn't done through the different dereferences. Correct by using locks to synchronize the dereferences. Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com> Signed-off-by: James Smart <jsmart2021@gmail.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/target')
0 files changed, 0 insertions, 0 deletions