[PATCH 6.12.y 0/3] nvme-tcp: consume TLS records without application data on a live queue

Martin Belanger via B4 Relay devnull+martin.nvme.dev.gmail.com at kernel.org
Wed Dec 2 07:57:28 PST 2026


Backport of the three patches that failed to apply to 6.12-stable
(FAILED mails of 2026-12-02). Patch 1 had a context conflict next to
nvme_tcp_cpu_queues. Patches 2 and 3 then apply cleanly.

On 6.12, patch 3 also adds the TLS_HANDSHAKE_KEYUPDATE define, which
came with 0471b1093e3a in 6.14.

Tested on v6.12.120 with records injected on a live TLS queue:
NewSessionTickets, close_notify and a warning alert no longer start
error recovery, and the data read back matches. A fatal alert and a
KeyUpdate still start error recovery, as upstream.

---
Martin Belanger (3):
      nvme-tcp: use an aligned buffer for the TLS record type
      nvme-tcp: move the TLS record read loop into a helper
      nvme-tcp: consume TLS records without application data

 drivers/nvme/host/tcp.c | 170 ++++++++++++++++++++++++++++++++++++++----------
 include/net/tls.h       |   2 +
 2 files changed, 138 insertions(+), 34 deletions(-)
---
base-commit: fa3ff5a9ce6f5ada4510bda0d8b891018a0be4b7
change-id: 20261202-live-stable-6-12-d8242089d4c8

Best regards,
--  
Martin Belanger <martin.nvme.dev at gmail.com>





More information about the Linux-nvme mailing list