SUNRPC: Teach server to recognize RPC_AUTH_TLS
authorChuck Lever <chuck.lever@oracle.com>
Tue, 22 Feb 2022 18:10:52 +0000 (13:10 -0500)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 28 Feb 2022 15:26:40 +0000 (10:26 -0500)
commit74aaf96feaca80285912cc6f19575b3e97177918
tree6e23fda540f95144f043dc1c0588b9ea3135f9bc
parent37902c6313090235c847af89c5515591261ee338
SUNRPC: Teach server to recognize RPC_AUTH_TLS

Initial support for the RPC_AUTH_TLS authentication flavor enables
NFSD to eventually accept an RPC_AUTH_TLS probe from clients. This
patch simply prevents NFSD from rejecting these probes completely.

In the meantime, graft this support in now so that RPC_AUTH_TLS
support keeps up with generic code and API changes in the RPC
server.

Down the road, server-side transport implementations will populate
xpo_start_tls when they can support RPC-with-TLS. For example, TCP
will eventually populate it, but RDMA won't.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
include/linux/sunrpc/svc_xprt.h
net/sunrpc/svcauth.c
net/sunrpc/svcauth_unix.c