SUNRPC: Handle -ETIMEDOUT return from tlshd
JIRA: https://issues.redhat.com/browse/RHEL-73706
commit 7a2f6f7687c5f7083a35317cddec5ad9fa491443
Author: Benjamin Coddington bcodding@redhat.com
Date: Tue Feb 11 12:31:57 2025 -0500
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 <bcodding@redhat.com>
Signed-off-by: Anna Schumaker <anna.schumaker@oracle.com>
Signed-off-by: Benjamin Coddington bcodding@redhat.com
Edited by Benjamin Coddington