diff options
author | James Smart <jsmart2021@gmail.com> | 2018-09-13 15:41:10 -0700 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2018-09-20 22:02:36 -0400 |
commit | 9e210178267b80c4eeb832fade7e146a18c84915 (patch) | |
tree | d3dce6607197b83d4d41ac6a2285ce8cbb8c10a4 /drivers/target | |
parent | d87161bea405e3260377026ca8a704a3f68bd67a (diff) | |
download | linux-9e210178267b80c4eeb832fade7e146a18c84915.tar.bz2 |
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