linux/drivers/scsi/lpfc
Justin Tee 5f9a7a00a2 scsi: lpfc: Fix reusing an ndlp that is marked NLP_DROPPED during FLOGI
[ Upstream commit 07caedc6a3 ]

It's possible for an unstable link to repeatedly bounce allowing a FLOGI
retry, but then bounce again forcing an abort of the FLOGI.  Ensure that
the initial reference count on the FLOGI ndlp is restored in this faulty
link scenario.

Signed-off-by: Justin Tee <justin.tee@broadcom.com>
Link: https://patch.msgid.link/20251106224639.139176-8-justintee8345@gmail.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2026-01-02 12:57:00 +01:00
..
lpfc.h scsi: lpfc: Copyright updates for 14.4.0.11 patches 2025-09-16 22:20:00 -04:00
lpfc_attr.c sysfs: treewide: switch back to bin_attribute::read()/write() 2025-06-17 10:44:13 +02:00
lpfc_attr.h scsi: lpfc: Revise copyright for new company language 2018-07-10 22:15:09 -04:00
lpfc_bsg.c scsi: lpfc: Use secs_to_jiffies() instead of msecs_to_jiffies() 2025-04-28 21:28:36 -04:00
lpfc_bsg.h scsi: lpfc: Copyright updates for 14.4.0.7 patches 2025-01-02 15:01:23 -05:00
lpfc_compat.h scsi: lpfc: Revise copyright for new company language 2018-07-10 22:15:09 -04:00
lpfc_crtn.h scsi: lpfc: Copyright updates for 14.4.0.6 patches 2024-11-02 21:45:25 -04:00
lpfc_ct.c scsi: lpfc: Copyright updates for 14.4.0.10 patches 2025-06-23 13:10:34 -04:00
lpfc_debugfs.c scsi: lpfc: Convert debugfs directory counts from atomic to unsigned int 2025-09-16 22:20:00 -04:00
lpfc_debugfs.h scsi: lpfc: Copyright updates for 14.4.0.11 patches 2025-09-16 22:20:00 -04:00
lpfc_disc.h scsi: lpfc: Change lpfc_nodelist save_flags member into a bitmask 2025-01-02 15:01:22 -05:00
lpfc_els.c scsi: lpfc: Fix reusing an ndlp that is marked NLP_DROPPED during FLOGI 2026-01-02 12:57:00 +01:00
lpfc_hbadisc.c scsi: lpfc: Fix reusing an ndlp that is marked NLP_DROPPED during FLOGI 2026-01-02 12:57:00 +01:00
lpfc_hw.h scsi: lpfc: Copyright updates for 14.4.0.11 patches 2025-09-16 22:20:00 -04:00
lpfc_hw4.h scsi: fc: Avoid -Wflex-array-member-not-at-end warnings 2025-08-30 21:42:19 -04:00
lpfc_ids.h scsi: lpfc: Copyright updates for 14.2.0.5 patches 2022-07-07 17:21:44 -04:00
lpfc_init.c pci-v6.18-changes 2025-10-06 10:41:03 -07:00
lpfc_logmsg.h scsi: lpfc: Introduce LOG_NODE_VERBOSE messaging flag 2023-10-13 16:58:27 -04:00
lpfc_mbox.c scsi: lpfc: Restrict the REG_FCFI MAM field to FCoE adapters only 2025-01-02 15:01:22 -05:00
lpfc_mem.c scsi: lpfc: Copyright updates for 14.2.0.16 patches 2023-11-15 09:52:58 -05:00
lpfc_nl.h scsi: lpfc: Revise copyright for new company language 2018-07-10 22:15:09 -04:00
lpfc_nportdisc.c scsi: lpfc: Copyright updates for 14.4.0.11 patches 2025-09-16 22:20:00 -04:00
lpfc_nvme.c scsi: lpfc: use min() to improve code 2025-08-19 22:25:06 -04:00
lpfc_nvme.h scsi: lpfc: Copyright updates for 14.2.0.0 patches 2022-03-15 13:51:50 -04:00
lpfc_nvmet.c scsi: lpfc: Fix buffer free/clear order in deferred receive path 2025-08-30 21:11:35 -04:00
lpfc_scsi.c scsi: lpfc: Check return status of lpfc_reset_flush_io_context during TGT_RESET 2025-09-16 22:19:59 -04:00
lpfc_scsi.h scsi: lpfc: Copyright updates for 14.4.0.2 patches 2024-05-06 21:53:58 -04:00
lpfc_sli.c Merge patch series "Update lpfc to revision 14.4.0.11" 2025-09-16 22:20:57 -04:00
lpfc_sli.h scsi: lpfc: Copyright updates for 14.4.0.1 patches 2024-03-10 18:56:44 -04:00
lpfc_sli4.h scsi: lpfc: Copyright updates for 14.4.0.10 patches 2025-06-23 13:10:34 -04:00
lpfc_version.h scsi: lpfc: Update lpfc version to 14.4.0.11 2025-09-16 22:20:00 -04:00
lpfc_vmid.c scsi: lpfc: convert timeouts to secs_to_jiffies() 2025-01-12 20:21:03 -08:00
lpfc_vport.c scsi: lpfc: Fix wrong function reference in a comment 2025-08-05 21:57:13 -04:00
lpfc_vport.h scsi: lpfc: Copyright updates for 14.2.0.6 patches 2022-08-31 23:39:58 -04:00
Makefile scsi: lpfc: Commonize VMID code location 2022-05-19 20:24:56 -04:00