diff options
Diffstat (limited to 'net/sunrpc/xprtsock.c')
-rw-r--r-- | net/sunrpc/xprtsock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sunrpc/xprtsock.c b/net/sunrpc/xprtsock.c index 37c5475ba258..ff312f8b018d 100644 --- a/net/sunrpc/xprtsock.c +++ b/net/sunrpc/xprtsock.c | |||
@@ -2033,7 +2033,7 @@ static void xs_connect(struct rpc_task *task) | |||
2033 | if (xprt_test_and_set_connecting(xprt)) | 2033 | if (xprt_test_and_set_connecting(xprt)) |
2034 | return; | 2034 | return; |
2035 | 2035 | ||
2036 | if (transport->sock != NULL) { | 2036 | if (transport->sock != NULL && !RPC_IS_SOFTCONN(task)) { |
2037 | dprintk("RPC: xs_connect delayed xprt %p for %lu " | 2037 | dprintk("RPC: xs_connect delayed xprt %p for %lu " |
2038 | "seconds\n", | 2038 | "seconds\n", |
2039 | xprt, xprt->reestablish_timeout / HZ); | 2039 | xprt, xprt->reestablish_timeout / HZ); |