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

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
This commit is contained in:
Trond Myklebust 2023-09-17 11:26:27 -04:00
parent 4b09ca1508
commit caa388f7e5

View file

@ -2220,7 +2220,7 @@ call_connect_status(struct rpc_task *task)
}
xprt_switch_put(xps);
if (!task->tk_xprt)
return;
goto out;
}
goto out_retry;
case -ENOBUFS:
@ -2235,6 +2235,7 @@ call_connect_status(struct rpc_task *task)
out_retry:
/* Check for timeouts before looping back to call_bind */
task->tk_action = call_bind;
out:
rpc_check_timeout(task);
}