[PATCH V4 0/2] Fix race conditions in the nvme-tcp driver

Maurizio Lombardi mlombard at bsdbackstore.eu
Fri Apr 11 05:26:53 PDT 2025


Hello Christoph,

On Fri Apr 4, 2025 at 10:27 AM CEST, Maurizio Lombardi wrote:
> Patch 1 fixes a race condition when the sockets get closed
> while the controller is transitioning from CONNECTING to LIVE state.
>
> Patch 2 fixes a command double completion when a send operation
> fails despite the fact that the command has been received by the target.
>
>
> v4: added patch 2/2
>
> v3: Do not check for -EPIPE, just call nvme_tcp_error_recovery()
>
> v2: commit message: clarify where the error recovery is started
>
>
> Maurizio Lombardi (2):
>   nvme-tcp: Prevent infinite loop if socket closes during CONNECTING
>     state
>   nvme-tcp: do not fail the request if send fails
>
>  drivers/nvme/host/tcp.c | 15 +--------------
>  1 file changed, 1 insertion(+), 14 deletions(-)

Can you pick up those 2 patches please?

Thanks,
Maurizio



More information about the Linux-nvme mailing list