]> git.openpandora.org Git - pandora-kernel.git/commitdiff
SUNRPC: Handle connection reset more efficiently.
authorTrond Myklebust <trond.myklebust@primarydata.com>
Mon, 9 Feb 2015 14:41:32 +0000 (09:41 -0500)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Mon, 9 Feb 2015 16:27:42 +0000 (11:27 -0500)
If the connection reset is due to an active call on our side, then
the state change is sometimes not reported. Catch those instances
using xs_error_report() instead.
Also remove the xs_tcp_shutdown() call in xs_tcp_send_request() as
the change in behaviour makes it redundant.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>

No differences found