Linux-NVME Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Keith Busch <kbusch@kernel.org>
To: Yehyeong Lee <yhlee@isslab.korea.ac.kr>
Cc: sagi@grimberg.me, hch@lst.de, axboe@kernel.dk,
	linux-nvme@lists.infradead.org
Subject: Re: [PATCH] nvme-tcp: return -EPROTO for a C2HData on a write
Date: Mon, 24 Aug 2026 18:58:43 -0600	[thread overview]
Message-ID: <aozowwwfA35zGM4S@kbusch-mbp> (raw)
In-Reply-To: <20260823074616.1996509-1-yhlee@isslab.korea.ac.kr>

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.


      parent reply	other threads:[~2026-08-25  0:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-23  7:46 [PATCH] nvme-tcp: return -EPROTO for a C2HData on a write Yehyeong Lee
2026-08-23  8:04 ` Sagi Grimberg
2026-08-25  0:58 ` Keith Busch [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=aozowwwfA35zGM4S@kbusch-mbp \
    --to=kbusch@kernel.org \
    --cc=axboe@kernel.dk \
    --cc=hch@lst.de \
    --cc=linux-nvme@lists.infradead.org \
    --cc=sagi@grimberg.me \
    --cc=yhlee@isslab.korea.ac.kr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox