android_kernel_motorola_sm6375/net/sunrpc
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Calum Mackay 768df674c5 SUNRPC: correct error code comment in xs_tcp_setup_socket()
[ Upstream commit 8c71139d9f84c1963b0a416941244502a20a7e52 ]

This comment was introduced by commit 6ea44adce9
("SUNRPC: ensure correct error is reported by xs_tcp_setup_socket()").

I believe EIO was a typo at the time: it should have been EAGAIN.

Subsequently, commit 0445f92c5d ("SUNRPC: Fix disconnection races")
changed that to ENOTCONN.

Rather than trying to keep the comment here in sync with the code in
xprt_force_disconnect(), make the point in a non-specific way.

Fixes: 6ea44adce9 ("SUNRPC: ensure correct error is reported by xs_tcp_setup_socket()")
Signed-off-by: Calum Mackay <calum.mackay@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Stable-dep-of: 4db9ad82a6c8 ("sunrpc: clear XPRT_SOCK_UPD_TIMEOUT when reset transport")
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-12-14 19:44:41 +01:00
..
auth_gss gss_krb5: Fix the error handling path for crypto_sync_skcipher_setkey 2024-08-19 05:33:30 +02:00
xprtrdma xprtrdma: Fix regbuf data not freed in rpcrdma_req_create() 2023-02-22 12:50:29 +01:00
addr.c net: sunrpc: Fix an off by one in rpc_sockaddr2uaddr() 2024-03-26 18:22:23 -04:00
auth.c sunrpc: fix expiry of auth creds 2022-08-25 11:18:22 +02:00
auth_null.c
auth_unix.c
backchannel_rqst.c SUNRPC: Reinitialise the backchannel request buffers before reuse 2022-08-25 11:18:23 +02:00
cache.c SUNRPC: make sure cache entry active before cache_show 2024-12-14 19:44:39 +01:00
clnt.c SUNRPC: avoid soft lockup when transmitting UDP to reachable server. 2024-08-19 05:33:32 +02:00
debugfs.c
Kconfig
Makefile
netns.h
rpc_pipe.c
rpcb_clnt.c
sched.c SUNRPC: Fix a race to wake a sync task 2024-08-19 05:33:48 +02:00
socklib.c
stats.c
sunrpc.h
sunrpc_syms.c
svc.c sunrpc: removed redundant procp check 2024-06-16 13:28:40 +02:00
svc_xprt.c
svcauth.c
svcauth_unix.c sunrpc: only free unix grouplist after RCU settles 2023-04-20 12:07:33 +02:00
svcsock.c SUNRPC: Fix UAF in svc_tcp_listen_data_ready() 2023-07-27 08:37:35 +02:00
sysctl.c
timer.c
xdr.c
xprt.c
xprtmultipath.c SUNRPC: Fix a suspicious RCU usage warning 2024-02-23 08:24:56 +01:00
xprtsock.c SUNRPC: correct error code comment in xs_tcp_setup_socket() 2024-12-14 19:44:41 +01:00