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

Maurizio Lombardi mlombard at redhat.com
Thu Jan 23 23:45:18 PST 2025


čt 23. 1. 2025 v 23:33 odesílatel Sagi Grimberg <sagi at grimberg.me> napsal:
>
>
> Won't nvme_tcp_error_recover() fail to transition the state and exit
> before doing anything?

No, because it's called in nvme_tcp_try_send() when the call to
sock_sendmsg() fails,
so the controller has already transitioned to LIVE state.

I will modify the commit message to make it clearer.

Maurizio




More information about the Linux-nvme mailing list