summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc/python_version.py
diff options
context:
space:
mode:
authorMartin Belanger <martin.belanger@dell.com>2026-10-27 06:38:53 -0400
committerKeith Busch <kbusch@kernel.org>2026-10-28 08:25:36 -0700
commit12c20e2903563acfb949342967adb900310a24d4 (patch)
tree4cd3712e5ee1364c833e87366c9a2363f3565f28 /tools/lib/python/kdoc/python_version.py
parent288cfa187208cc9d0809eb8e1508658151a444dd (diff)
nvme-tcp: skip TLS control records while waiting for the ICResp
A peer may send a NewSessionTicket as soon as the handshake completes, ahead of the ICResp. nvme_tcp_init_connection() fails the connection on any record that is not application data, so such a target cannot be reached at all. An OpenSSL-based target does this by default. RFC 9846 section 4.7.1 requires a client that does not support session resumption to ignore a NewSessionTicket. Discard such a record and read again, up to a fixed number of records. Report an alert, and fail the connection for any other record type. The record type is now checked before the length. A control record shorter than the ICResp was reported as -ECONNRESET, which hid the real cause. Fixes: 2837966ab2a8 ("nvme-tcp: control message handling for recvmsg()") Assisted-by: LLM Reviewed-by: Hannes Reinecke <hare@kernel.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Martin Belanger <martin.belanger@dell.com> Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions