diff options
author | Chuck Lever <[email protected]> | 2023-06-07 09:58:22 -0400 |
---|---|---|
committer | Trond Myklebust <[email protected]> | 2023-06-19 12:19:16 -0400 |
commit | 0d3ca07ffda9291843bb0b4b39dea43535bb1f13 (patch) | |
tree | 993d12ed8114095cc58e3c23078a4ede7c48a96e /scripts/bpf_doc.py | |
parent | 120726526e5ee3dfac11bd417e266a7e411f3315 (diff) |
SUNRPC: Ignore data_ready callbacks during TLS handshakes
The RPC header parser doesn't recognize TLS handshake traffic, so it
will close the connection prematurely with an error. To avoid that,
shunt the transport's data_ready callback when there is a TLS
handshake in progress.
The XPRT_SOCK_IGNORE_RECV flag will be toggled by code added in a
subsequent patch.
Signed-off-by: Chuck Lever <[email protected]>
Reviewed-by: Jeff Layton <[email protected]>
Signed-off-by: Trond Myklebust <[email protected]>
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions