[PATCH V4 1/2] nvme-tcp: Prevent infinite loop if socket closes during CONNECTING state
Maurizio Lombardi
mlombard at bsdbackstore.eu
Thu Apr 17 06:04:14 PDT 2025
On Mon Apr 14, 2025 at 11:35 PM CEST, Sagi Grimberg wrote:
>
> I see the issue, but we need to make sure that if the connection closes
> before
> the controller finished establishing, then it cleans up correctly.
> Because at some
> point in the past - it wasn't the case. Things have changed in that path
> so it might
> be ok now... Just need to check. I'd trigger the race while the admin
> queue is establishing, as well
> as in the middle of the sequence of IO queues are establishing.
I believe my earlier testing for this patch already covered this scenario,
but I can rerun the tests to confirm and report back.
Either way, any fixes needed should be unrelated to this patch in my opinion,
as this one covers the case where the controller
has already finished establishing the admin and I/O queues.
Maurizio
More information about the Linux-nvme
mailing list