summaryrefslogtreecommitdiff
path: root/lib/radix-tree.c
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2008-10-28 19:21:39 (GMT)
committerTrond Myklebust <Trond.Myklebust@netapp.com>2008-10-28 19:21:39 (GMT)
commit2a9e1cfa23fb62da37739af81127dab5af095d99 (patch)
tree3fdb86f69ea598163f7096e1f85fd8f5c86bb896 /lib/radix-tree.c
parente946217e4fdaa67681bbabfa8e6b18641921f750 (diff)
downloadlinux-fsl-qoriq-2a9e1cfa23fb62da37739af81127dab5af095d99.tar.xz
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>
Diffstat (limited to 'lib/radix-tree.c')
0 files changed, 0 insertions, 0 deletions