summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2008-10-28 15:21:39 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2008-10-28 15:21:39 -0400
commit2a9e1cfa23fb62da37739af81127dab5af095d99 (patch)
tree3fdb86f69ea598163f7096e1f85fd8f5c86bb896 /fs
parente946217e4fdaa67681bbabfa8e6b18641921f750 (diff)
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 'fs')
0 files changed, 0 insertions, 0 deletions