diff options
author | Dick Kennedy <dick.kennedy@broadcom.com> | 2020-05-01 23:43:04 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2020-05-08 04:47:21 +0200 |
commit | b98214f6070ef5052b763b61ac2089a9ac6c8677 (patch) | |
tree | 59444bac4481a6b5aa5020554e31cfc43b06e195 /.clang-format | |
parent | scsi: lpfc: Maintain atomic consistency of queue_claimed flag (diff) | |
download | linux-b98214f6070ef5052b763b61ac2089a9ac6c8677.tar.xz linux-b98214f6070ef5052b763b61ac2089a9ac6c8677.zip |
scsi: lpfc: Remove re-binding of nvme rport during registration
The lldd rebinds the ndlp with rport during a nvme rport registration (via
nvme_fc_register_remoteport). If rport & ndlp pointers are same as the
previous one, the lldd will re-use the ndlp and rport association without
re-initialization. This assumption is incorrect. The lldd should be
ignorant of whether the returned rport pointer is new or not, and should
always assume it is new.
Remove the re-binding code, always assumes that rport pointer received from
transport is a new pointer.
Link: https://lore.kernel.org/r/20200501214310.91713-4-jsmart2021@gmail.com
Reviewed-by: Hannes Reinecke <hare@suse.de>
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 '.clang-format')
0 files changed, 0 insertions, 0 deletions