Re: [PATCH] nvme-tcp: return -EPROTO for a C2HData on a write
Keith Busch <[email protected]>
| Newsgroups | org.infradead.lists.linux-nvme |
|---|---|
| Message-ID | <aozowwwfA35zGM4S@kbusch-mbp> |
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.