android_kernel_xiaomi_sm8350/net/sunrpc
Trond Myklebust 67a391d72c SUNRPC: Fix TCP rebinding logic
Currently the TCP rebinding logic assumes that if we're not using a
reserved port, then we don't need to reconnect on the same port if a
disconnection event occurs. This breaks most RPC duplicate reply cache
implementations.

Also take into account the fact that xprt_min_resvport and
xprt_max_resvport may change while we're reconnecting, since the user may
change them at any time via the sysctls. Ensure that we check the port
boundaries every time we loop in xs_bind4/xs_bind6. Also ensure that if the
boundaries change, we only scan the ports a maximum of 2 times.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
2008-01-30 02:05:25 -05:00
..
auth_gss NFS: add newline to kernel warning message in auth_gss code 2008-01-03 09:37:16 -05:00
xprtrdma [SUNRPC]: Use htonl() where appropriate. 2008-01-28 14:58:05 -08:00
auth_null.c
auth_unix.c
auth.c
cache.c [NET]: Add some acquires/releases sparse annotations. 2008-01-28 15:00:31 -08:00
clnt.c
Makefile
rpc_pipe.c sunrpc: rpc_pipe_poll may miss available data in some cases 2007-11-17 13:08:47 -05:00
rpcb_clnt.c
sched.c [NET]: Convert init_timer into setup_timer 2008-01-28 14:53:35 -08:00
socklib.c
stats.c [NET]: Make /proc/net per network namespace 2007-10-10 16:49:06 -07:00
sunrpc_syms.c
svc.c
svcauth_unix.c
svcauth.c
svcsock.c [NET] Cleanup: Use sock_owned_by_user() macro 2007-10-10 16:49:00 -07:00
sysctl.c [SUNRPC]: fix rpc debugging 2007-10-30 01:07:15 -07:00
timer.c
xdr.c [CRYPTO] users: Fix up scatterlist conversion errors 2007-10-27 00:52:07 -07:00
xprt.c SUNRPC: Fix a race in xs_tcp_state_change() 2008-01-30 02:05:24 -05:00
xprtsock.c SUNRPC: Fix TCP rebinding logic 2008-01-30 02:05:25 -05:00