[RFC PATCH 0/4] ->read_sock with cmsg

Chuck Lever
2026-02-17T22:20:37Z

From: Chuck Lever <chuck.lever@oracle.com>

I'm thinking of proposing this series to netdev to address our
concerns about how in-kernel TLS consumers have to compromise
between efficiency and handling Alerts properly. Posting this series
to a narrow audience for early review.

Based on 26a4cfaff82a2dcb810f6bfd5f4842f9b6046c8a

---

Chuck Lever (4):
net: Introduce read_sock_cmsg proto_ops for control message delivery
tls: Implement read_sock_cmsg for kTLS software path
sunrpc: Use read_sock_cmsg for svcsock TCP receives
sunrpc: Remove sock_recvmsg path from svcsock TCP receives

include/linux/net.h | 8 +
net/sunrpc/svcsock.c | 389 ++++++++++++++++++++-----------------------
net/tls/tls.h | 3 +
net/tls/tls_main.c | 2 +
net/tls/tls_sw.c | 33 +++-
5 files changed, 223 insertions(+), 212 deletions(-)

--
2.53.0