SUNRPC: Add a TCP-with-TLS RPC transport class
authorChuck Lever <chuck.lever@oracle.com>
Wed, 7 Jun 2023 13:59:15 +0000 (09:59 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 19 Jun 2023 16:28:10 +0000 (12:28 -0400)
commit75eb6af7acdf566c68d61e98e67ee2f235201c02
tree93d9f39c9b7af91c8ecab6309a1b48847d028fc9
parentdea034b963c8901bdcc3d3880c04f0d75c95112f
SUNRPC: Add a TCP-with-TLS RPC transport class

Use the new TLS handshake API to enable the SunRPC client code
to request a TLS handshake. This implements support for RFC 9289,
only on TCP sockets.

Upper layers such as NFS use RPC-with-TLS to protect in-transit
traffic.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
include/linux/sunrpc/xprt.h
include/linux/sunrpc/xprtsock.h
include/trace/events/sunrpc.h
net/sunrpc/sysfs.c
net/sunrpc/xprtsock.c