(subset) [PATCH v2 0/2] nvme-tcp: fix the R2T send/receive race
Keith Busch
kbusch at kernel.org
Tue Nov 24 09:31:32 PST 2026
On Tue, 24 Nov 2026 05:10:39 +0000, Zhenwen Liang wrote:
> nvme_tcp_handle_r2t() sets up the next H2CData transfer while the send
> path may still be finishing the previous R2T of the same request. On
> stable kernels (with the "<" offset check) this leaves pdu_sent wrong
> and the write stalls until the I/O timeout; since 347d50d92e25 on
> v7.4-rc4 the host rejects the valid R2T and reconnects.
>
> Patch 1/2 fixes a 32-bit overflow in the existing R2T length check.
> Patch 2/2 moves the R2T setup to the send path.
>
> [...]
Thanks, applied to nvme-7.4.
[1/2] nvme-tcp: avoid overflow in the R2T length check
commit: 08be423d20e892e2606172cf69015d34ac170786
--
Keith Busch <kbusch at kernel.org>
More information about the Linux-nvme
mailing list