diff options
Diffstat (limited to 'net/sunrpc/clnt.c')
-rw-r--r-- | net/sunrpc/clnt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sunrpc/clnt.c b/net/sunrpc/clnt.c index cc1b773a79d3..24b44e73f391 100644 --- a/net/sunrpc/clnt.c +++ b/net/sunrpc/clnt.c | |||
@@ -740,7 +740,7 @@ call_bind(struct rpc_task *task) | |||
740 | task->tk_action = call_connect; | 740 | task->tk_action = call_connect; |
741 | if (!clnt->cl_port) { | 741 | if (!clnt->cl_port) { |
742 | task->tk_action = call_bind_status; | 742 | task->tk_action = call_bind_status; |
743 | task->tk_timeout = RPC_CONNECT_TIMEOUT; | 743 | task->tk_timeout = task->tk_xprt->bind_timeout; |
744 | rpc_getport(task, clnt); | 744 | rpc_getport(task, clnt); |
745 | } | 745 | } |
746 | } | 746 | } |