android_kernel_xiaomi_sm8350/net/sunrpc
Trond Myklebust 2a9e1cfa23 SUNRPC: Respond promptly to server TCP resets
If the server sends us an RST error while we're in the TCP_ESTABLISHED
state, then that will not result in a state change, and so the RPC client
ends up hanging forever (see
http://bugzilla.kernel.org/show_bug.cgi?id=11154)

We can intercept the reset by setting up an sk->sk_error_report callback,
which will then allow us to initiate a proper shutdown and retry...

We also make sure that if the send request receives an ECONNRESET, then we
shutdown too...

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
2008-10-28 15:21:39 -04:00
..
auth_gss Merge branch 'for-2.6.27' of git://linux-nfs.org/~bfields/linux 2008-07-20 21:21:46 -07:00
xprtrdma Merge branch 'next' 2008-10-15 15:54:56 -04:00
auth_generic.c
auth_null.c
auth_unix.c
auth.c net: Remove CONFIG_KMOD from net/ (towards removing CONFIG_KMOD entirely) 2008-10-16 15:24:51 -07:00
cache.c
clnt.c Merge branch 'next' 2008-10-15 15:54:56 -04:00
Makefile
rpc_pipe.c SL*B: drop kmem cache argument from constructor 2008-07-26 12:00:07 -07:00
rpcb_clnt.c Merge branch 'next' 2008-10-15 15:54:56 -04:00
sched.c
socklib.c
stats.c
sunrpc_syms.c
svc_xprt.c SUNRPC: Use proper INADDR_ANY when setting up RPC services on IPv6 2008-09-29 17:56:56 -04:00
svc.c SUNRPC: Fix up svc_unregister() 2008-09-29 18:13:40 -04:00
svcauth_unix.c
svcauth.c
svcsock.c NLM: Remove unused argument from svc_addsock() function 2008-10-04 17:12:27 -04:00
sysctl.c sunrpc: fix possible overrun on read of /proc/sys/sunrpc/transports 2008-09-01 14:24:24 -04:00
timer.c
xdr.c
xprt.c sunrpc: do not pin sunrpc module in the memory 2008-10-07 18:14:54 -04:00
xprtsock.c SUNRPC: Respond promptly to server TCP resets 2008-10-28 15:21:39 -04:00