linux-rockchip/drivers/scsi/lpfc
Justin Tee 0857b1c573 scsi: lpfc: Ensure DA_ID handling completion before deleting an NPIV instance
[ Upstream commit 0a3c84f71680684c1d41abb92db05f95c09111e8 ]

Deleting an NPIV instance requires all fabric ndlps to be released before
an NPIV's resources can be torn down.  Failure to release fabric ndlps
beforehand opens kref imbalance race conditions.  Fix by forcing the DA_ID
to complete synchronously with usage of wait_queue.

Signed-off-by: Justin Tee <justin.tee@broadcom.com>
Link: https://lore.kernel.org/r/20240912232447.45607-6-justintee8345@gmail.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-10-17 15:22:17 +02:00
..
lpfc.h
lpfc_attr.c
lpfc_attr.h
lpfc_bsg.c
lpfc_bsg.h
lpfc_compat.h
lpfc_crtn.h
lpfc_ct.c scsi: lpfc: Ensure DA_ID handling completion before deleting an NPIV instance 2024-10-17 15:22:17 +02:00
lpfc_debugfs.c
lpfc_debugfs.h
lpfc_disc.h scsi: lpfc: Ensure DA_ID handling completion before deleting an NPIV instance 2024-10-17 15:22:17 +02:00
lpfc_els.c scsi: lpfc: Add ELS_RSP cmd to the list of WQEs to flush in lpfc_els_flush_cmd() 2024-10-17 15:22:17 +02:00
lpfc_hbadisc.c
lpfc_hw.h
lpfc_hw4.h
lpfc_ids.h
lpfc_init.c
lpfc_logmsg.h
lpfc_mbox.c
lpfc_mem.c
lpfc_nl.h
lpfc_nportdisc.c scsi: lpfc: Update PRLO handling in direct attached topology 2024-10-17 15:21:46 +02:00
lpfc_nvme.c
lpfc_nvme.h
lpfc_nvmet.c
lpfc_scsi.c
lpfc_scsi.h
lpfc_sli.c
lpfc_sli.h
lpfc_sli4.h
lpfc_version.h
lpfc_vmid.c
lpfc_vport.c scsi: lpfc: Ensure DA_ID handling completion before deleting an NPIV instance 2024-10-17 15:22:17 +02:00
lpfc_vport.h
Makefile