[PATCH] nvme: fc: stop lsrcv workqueue before freeing a rport
Aristeu Rozanski
aris at redhat.com
Fri Nov 14 10:42:03 PST 2025
Hi Ewan,
On Fri, Nov 14, 2025 at 12:47:14PM -0500, Ewan Milne wrote:
> OK, but it seems to me that if lsrcv_work is pending then lsrcv_list likely
> has entries on it.
> So does this fix the whole problem?
>
> Could you maybe add WARN_ON(!list_empty(&rport->ls_rcv_list)); so we'll
> find out?
since I can reproduce it easily (less than an hour usually) I'll add the
WARN_ON and double check if it triggers before the bug reproduces.
Thanks
--
Aristeu
More information about the Linux-nvme
mailing list