diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2023-04-20 13:56:24 -0400 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2023-04-27 18:49:24 -0400 |
commit | b3cbf98e2fdf3cb147a95161560cd25987284330 (patch) | |
tree | cf08005abc4b034ba5a9b0a1c229dcb83b128325 /include/linux/sunrpc/svcsock.h | |
parent | 22b620ec0bf454cfd1c464f57cfce9afb3fb1e70 (diff) | |
download | linux-stable-b3cbf98e2fdf3cb147a95161560cd25987284330.tar.gz linux-stable-b3cbf98e2fdf3cb147a95161560cd25987284330.tar.bz2 linux-stable-b3cbf98e2fdf3cb147a95161560cd25987284330.zip |
SUNRPC: Support TLS handshake in the server-side TCP socket code
This patch adds opportunitistic RPC-with-TLS to the Linux in-kernel
NFS server. If the client requests RPC-with-TLS and the user space
handshake agent is running, the server will set up a TLS session.
There are no policy settings yet. For example, the server cannot
yet require the use of RPC-with-TLS to access its data.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'include/linux/sunrpc/svcsock.h')
-rw-r--r-- | include/linux/sunrpc/svcsock.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/sunrpc/svcsock.h b/include/linux/sunrpc/svcsock.h index dd73fa174af5..d16ae621782c 100644 --- a/include/linux/sunrpc/svcsock.h +++ b/include/linux/sunrpc/svcsock.h @@ -38,6 +38,8 @@ struct svc_sock { /* Number of queued send requests */ atomic_t sk_sendqlen; + struct completion sk_handshake_done; + struct page * sk_pages[RPCSVC_MAXPAGES]; /* received data */ }; |