Files
linux/drivers
Daniel Wagner b71cbcf7d1 nvme-fc: don't hold rport lock when putting ctrl
nvme_fc_ctrl_put can acquire the rport lock when freeing the
ctrl object:

nvme_fc_ctrl_put
  nvme_fc_ctrl_free
    spin_lock_irqsave(rport->lock)

Thus we can't hold the rport lock when calling nvme_fc_ctrl_put.

Justin suggested use the safe list iterator variant because
nvme_fc_ctrl_put will also modify the rport->list.

Cc: Justin Tee <justin.tee@broadcom.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Daniel Wagner <wagi@kernel.org>
Signed-off-by: Keith Busch <kbusch@kernel.org>
2025-12-01 13:45:57 -08:00
..
2025-10-01 00:00:45 +00:00
2025-09-29 00:17:22 +02:00
2025-09-22 09:35:21 -04:00
2025-10-17 08:31:14 -05:00
2025-11-05 08:07:21 -07:00
2025-10-01 07:24:43 -04:00