]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
SUNRPC: Ensure xprt_connect_status handles all potential connection errors
authorTrond Myklebust <trond.myklebust@primarydata.com>
Tue, 31 Dec 2013 18:13:30 +0000 (13:13 -0500)
committerJiri Slaby <jslaby@suse.cz>
Mon, 16 Feb 2015 14:08:13 +0000 (15:08 +0100)
commit6686e9091ed571d4a616d2e655c22e34ded49fcb
tree247619e4e0020a23c194e9e769fcefb055e383c3
parent5a88b3915463423b14e19d50e96f35fa2a6f96d1
SUNRPC: Ensure xprt_connect_status handles all potential connection errors

commit 0fe8d04e8c3a1eb49089793e38b60a17cee564e3 upstream.

Currently, xprt_connect_status will convert connection error values such
as ECONNREFUSED, ECONNRESET, ... into EIO, which means that they never
get handled.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Acked-by: NeilBrown <neilb@suse.de>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
net/sunrpc/xprt.c