aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorBenjamin Coddington <[email protected]>2025-02-11 17:31:57 +0000
committerAnna Schumaker <[email protected]>2025-02-19 21:45:24 +0000
commit7a2f6f7687c5f7083a35317cddec5ad9fa491443 (patch)
treea722a669a35e4d67d4d8b202a844ccfe4c559583 /net/switchdev/switchdev.c
parentNFSv4: Fix a deadlock when recovering state on a sillyrenamed file (diff)
downloadkernel-7a2f6f7687c5f7083a35317cddec5ad9fa491443.tar.gz
kernel-7a2f6f7687c5f7083a35317cddec5ad9fa491443.zip
SUNRPC: Handle -ETIMEDOUT return from tlshd
If the TLS handshake attempt returns -ETIMEDOUT, we currently translate that error into -EACCES. This becomes problematic for cases where the RPC layer is attempting to re-connect in paths that don't resonably handle -EACCES, for example: writeback. The RPC layer can handle -ETIMEDOUT quite well, however - so if the handshake returns this error let's just pass it along. Fixes: 75eb6af7acdf ("SUNRPC: Add a TCP-with-TLS RPC transport class") Signed-off-by: Benjamin Coddington <[email protected]> Signed-off-by: Anna Schumaker <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions