commit | 99b1a4c32ad22024ac6198a4337aaec5ea23168f | [log] [tgz] |
---|---|---|
author | Trond Myklebust <trond.myklebust@primarydata.com> | Thu Aug 13 15:33:51 2015 -0400 |
committer | Trond Myklebust <trond.myklebust@primarydata.com> | Mon Aug 17 13:05:49 2015 -0500 |
tree | 75a5205e03e25118906a4fe5558a2a9bd3bc6c50 | |
parent | 6f536936b79bd4b5cea8fb0e5b8b0bce8cd1ea4a [diff] |
SUNRPC: Fix a thinko in xs_connect() It is rather pointless to test the value of transport->inet after calling xs_reset_transport(), since it will always be zero, and so we will never see any exponential back off behaviour. Also don't force early connections for SOFTCONN tasks. If the server disconnects us, we should respect the exponential backoff. Cc: stable@vger.kernel.org # 4.0+ Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>