[PATCH] nvme-tcp: return -EPROTO for a C2HData on a write
Keith Busch
kbusch at kernel.org
Mon Aug 24 17:58:43 PDT 2026
On Sun, Aug 23, 2026 at 04:46:16PM +0900, Yehyeong Lee wrote:
> The direction check in nvme_tcp_handle_c2h_data() returns -EIO. A
> C2HData PDU naming a command that did not ask for data is a protocol
> violation, and the check that rejects a PDU on those grounds a few
> lines below it - SUCCESS set without LAST - returns -EPROTO.
>
Thanks, applied to nvme-7.3.
More information about the Linux-nvme
mailing list