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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 May 2014 11:32:50 +0000 (13:32 +0200)
commitd1c6070174b2cd7fd218dd4cb24ae60d46c7e22b
tree0f2067208c0d2413f788199960c75e3ffb6d9dd8
parent1e1692fb5f19f504813f0e461cd656c204d8fe37
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/sunrpc/clnt.c