diff options
| author | Benjamin Coddington <bcodding@redhat.com> | 2025-02-11 12:31:57 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-03-07 18:25:27 +0100 |
| commit | e4cfa6aa05e512ba45651f19f2fad984747e9dac (patch) | |
| tree | 503af46316850f7844729066486c7fa40f543847 /scripts/stackusage | |
| parent | 4fe4ae6c2e01d028856b73b6328b12b8945df871 (diff) | |
| download | linux-e4cfa6aa05e512ba45651f19f2fad984747e9dac.tar.gz linux-e4cfa6aa05e512ba45651f19f2fad984747e9dac.tar.bz2 linux-e4cfa6aa05e512ba45651f19f2fad984747e9dac.zip | |
SUNRPC: Handle -ETIMEDOUT return from tlshd
[ Upstream commit 7a2f6f7687c5f7083a35317cddec5ad9fa491443 ]
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: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions
