kernel-hacking-2024-linux-s.../net/sunrpc
Trond Myklebust e06799f958 SUNRPC: Use shutdown() instead of close() when disconnecting a TCP socket
By using shutdown() rather than close() we allow the RPC client to wait
for the TCP close handshake to complete before we start trying to reconnect
using the same port.
We use shutdown(SHUT_WR) only instead of shutting down both directions,
however we wait until the server has closed the connection on its side.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
2008-01-30 02:05:26 -05:00
..
auth_gss
xprtrdma [SUNRPC]: Use htonl() where appropriate. 2008-01-28 14:58:05 -08:00
auth.c
auth_null.c
auth_unix.c
cache.c [NET]: Add some acquires/releases sparse annotations. 2008-01-28 15:00:31 -08:00
clnt.c
Makefile
rpc_pipe.c
rpcb_clnt.c
sched.c [NET]: Convert init_timer into setup_timer 2008-01-28 14:53:35 -08:00
socklib.c
stats.c
sunrpc_syms.c
svc.c
svcauth.c
svcauth_unix.c
svcsock.c
sysctl.c
timer.c
xdr.c
xprt.c SUNRPC: Fix a race in xs_tcp_state_change() 2008-01-30 02:05:24 -05:00
xprtsock.c SUNRPC: Use shutdown() instead of close() when disconnecting a TCP socket 2008-01-30 02:05:26 -05:00