[PATCH] nvme-tcp: reject C2HData for a non-read command

Sagi Grimberg sagi at grimberg.me
Sat Aug 22 14:26:50 PDT 2026



On 22/08/2026 4:40, Yehyeong Lee wrote:
> The same check was posted on 2026-08-18:
>
>    https://lore.kernel.org/linux-nvme/20260818110405.590548-1-yhlee@isslab.korea.ac.kr/
>
> It rejects the same PDU in the same place; the two differ only in the
> return value and the message text.

EPROTO is more appropriate IMO.



More information about the Linux-nvme mailing list