Commit caa388f7 authored by Trond Myklebust's avatar Trond Myklebust

SUNRPC: Don't skip timeout checks in call_connect_status()

Signed-off-by: default avatarTrond Myklebust <trond.myklebust@hammerspace.com>
parent 4b09ca15
...@@ -2220,7 +2220,7 @@ call_connect_status(struct rpc_task *task) ...@@ -2220,7 +2220,7 @@ call_connect_status(struct rpc_task *task)
} }
xprt_switch_put(xps); xprt_switch_put(xps);
if (!task->tk_xprt) if (!task->tk_xprt)
return; goto out;
} }
goto out_retry; goto out_retry;
case -ENOBUFS: case -ENOBUFS:
...@@ -2235,6 +2235,7 @@ call_connect_status(struct rpc_task *task) ...@@ -2235,6 +2235,7 @@ call_connect_status(struct rpc_task *task)
out_retry: out_retry:
/* Check for timeouts before looping back to call_bind */ /* Check for timeouts before looping back to call_bind */
task->tk_action = call_bind; task->tk_action = call_bind;
out:
rpc_check_timeout(task); rpc_check_timeout(task);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment