Avoid hang when mounting xprtsec=[m]tls
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 0 repliesNew
- v11 patch 1 replySuperseded
Changes in v2 from the cover letter
- Include Mike's R-b and T-b tags in 1/2
- Clean up dead code noticed while testing
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | SUNRPC: Prevent hang on NFS mount with xprtsec=[m]tlsnet/ | +5 | 0 replies | |
| 2/2 | SUNRPC: Remove dead code from xs_tcp_tls_setup_socket()net/ | +0 | 0 replies |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by.
| Patch | Mike Snitzer |
|---|---|
| 1/2 | T-b R-b |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/2] Avoid hang when mounting xprtsec=[m]tls
From: Chuck Lever <[email protected]>
An NFS mount request can sometimes hang when TLS is requested. This series attempts to address that.
I've checked on a couple of things since v1.
- Why doesn't the Linux kernel SunRPC client already poll just after connecting? Typically the SunRPC client does not expect an RPC Reply (ie, any ingress traffic) until it has sent an RPC Call first. RPC-with-TLS has changed that scenario a bit.
- Is this an issue for other in-kernel TLS consumers? It is. But the only other in-kernel TLS consumer at the moment is NVMe over TCP, and it already polls after a successful connection, for other reasons.
Changes since v1:
- Include Mike's R-b and T-b tags in 1/2
- Clean up dead code noticed while testing
Chuck Lever (2):
SUNRPC: Prevent hang on NFS mount with xprtsec=[m]tls
SUNRPC: Remove dead code from xs_tcp_tls_setup_socket()
net/sunrpc/xprtsock.c | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-)
Signature · 1 line
2.49.0