]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0a94bd03578c7f0126ee6ea7f84552936b795dda
tree6e23fda540f95144f043dc1c0588b9ea3135f9bc
parent8b84de3f697e6b112b182273e227c0287f369ebe
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