summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/lpfc/lpfc.h
diff options
context:
space:
mode:
authorJames Smart <jsmart2021@gmail.com>2022-07-01 14:14:20 -0700
committerMartin K. Petersen <martin.petersen@oracle.com>2022-07-07 17:21:43 -0400
commitea92e173dc55460f1b9e71df5ceac951c506d214 (patch)
treef61fb3dd948225184d9532e8ce88fbde24542304 /drivers/scsi/lpfc/lpfc.h
parent43e19a96a7895f5588ffc6bf9768f362ae3af70e (diff)
downloadlinux-stable-ea92e173dc55460f1b9e71df5ceac951c506d214.tar.gz
linux-stable-ea92e173dc55460f1b9e71df5ceac951c506d214.tar.bz2
linux-stable-ea92e173dc55460f1b9e71df5ceac951c506d214.zip
scsi: lpfc: Fix lost NVMe paths during LIF bounce stress test
During a target link bounce test, the driver sees a mismatch between the NPortId and the WWPN on the node structures (ndlps) involved. When this occurs, the driver "swaps" the ndlp and new_ndlp node parameters to restore WWPN/DID uniqueness in the fc_nodes list per vport. However, the driver neglected to swap the nlp_fc4_type in the ndlp passed to lpfc_plogi_confirm_nport causing a failure to recover the NVMe PLOGI/PRLI and ultimately the NVMe paths. Correct confirm_nport to preserve the fc4 types from the new-ndlp when the data is moved over ot the ndlp structure. Link: https://lore.kernel.org/r/20220701211425.2708-8-jsmart2021@gmail.com Co-developed-by: Justin Tee <justin.tee@broadcom.com> Signed-off-by: Justin Tee <justin.tee@broadcom.com> Signed-off-by: James Smart <jsmart2021@gmail.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc.h')
0 files changed, 0 insertions, 0 deletions