summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorShao Mingyin <shao.mingyin@zte.com.cn>2026-11-14 02:02:50 +0800
committerKeith Busch <kbusch@kernel.org>2026-11-16 07:42:47 -0800
commit347d50d92e25d4b9c50c5f5c1d8b727b9c88d12c (patch)
treef8bdb59fab691e0d161070df526e78d167263b2f /tools/perf/scripts/python
parent9dac3b1aa2a99e126a5504b7f5bc781c8b2771e0 (diff)
nvme-tcp: require the R2T offset to match the data sent
nvme_tcp_handle_r2t() rejects offsets below data_sent but accepts larger offsets. The send iterator still points at data_sent, so the next H2CData PDU carries bytes from that position while advertising the larger offset. A target that accepts the PDU can place the data at the wrong position; the Linux target rejects it and fails the connection. Require the R2T offset to equal data_sent, rejecting the invalid request before transmitting data with a mismatched offset. Fixes: 3f2304f8c6d6 ("nvme-tcp: add NVMe over TCP host driver") Cc: stable@vger.kernel.org Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Shao Mingyin <shao.mingyin@zte.com.cn> Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions