]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
SUNRPC: Ensure that call_connect times out correctly
authorTrond Myklebust <trond.myklebust@primarydata.com>
Mon, 17 Mar 2014 16:51:44 +0000 (12:51 -0400)
committerJiri Slaby <jslaby@suse.cz>
Mon, 16 Feb 2015 14:12:06 +0000 (15:12 +0100)
commit97034d21e60e27ff15f8caad7c101fdd29103651
tree1649856787a859c6aa2a07d53ec393ba16730631
parent51fedbbb1a7838732e8de08bec078c2e0066974a
SUNRPC: Ensure that call_connect times out correctly

commit 485f2251782f7c44299c491d4676a8a01428d191 upstream.

When the server is unavailable due to a networking error, etc, we want
the RPC client to respect the timeout delays when attempting to reconnect.

Reported-by: Neil Brown <neilb@suse.de>
Fixes: 561ec1603171 (SUNRPC: call_connect_status should recheck bind..)
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/clnt.c