]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
scsi: lpfc: Replace hbalock with ndlp lock in lpfc_nvme_unregister_port()
authorJustin Tee <justin.tee@broadcom.com>
Tue, 5 Mar 2024 20:04:56 +0000 (12:04 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 17 May 2024 10:14:36 +0000 (12:14 +0200)
commite09a3380bc0f3e053dd843bea72d4cc1ae729629
tree5a2e462309c875a3d420ed637dc74bdcc2aef65d
parentafb318cece862725f993ef68644f733dd425064a
scsi: lpfc: Replace hbalock with ndlp lock in lpfc_nvme_unregister_port()

[ Upstream commit d11272be497e48a8e8f980470eb6b70e92eed0ce ]

The ndlp object update in lpfc_nvme_unregister_port() should be protected
by the ndlp lock rather than hbalock.

Signed-off-by: Justin Tee <justin.tee@broadcom.com>
Link: https://lore.kernel.org/r/20240305200503.57317-6-justintee8345@gmail.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/scsi/lpfc/lpfc_nvme.c