[PATCH] nvme-tcp: Prevent infinite loop if socket closes during CONNECTING state

Maurizio Lombardi mlombard at redhat.com
Tue Jan 21 06:19:20 PST 2025


út 21. 1. 2025 v 15:11 odesílatel Hannes Reinecke <hare at suse.de> napsal:
>
> This feels a bit weird; wouldn't it be better to allow transitions
> from 'CONNECTING' to 'RESETTING'? Wouldn't the fix the issue, too?
> But yeah, this is a real issue; I've seen it in my tests occasionally,
> too.

Yes, it would fix the bug.
I didn't do that because it could potentially have an impact on all the drivers
and I wanted to avoid regressions.

Maurizio




More information about the Linux-nvme mailing list