Skip to content

Commit caa388f

Browse files
author
Trond Myklebust
committed
SUNRPC: Don't skip timeout checks in call_connect_status()
Signed-off-by: Trond Myklebust <[email protected]>
1 parent 4b09ca1 commit caa388f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

net/sunrpc/clnt.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2220,7 +2220,7 @@ call_connect_status(struct rpc_task *task)
22202220
}
22212221
xprt_switch_put(xps);
22222222
if (!task->tk_xprt)
2223-
return;
2223+
goto out;
22242224
}
22252225
goto out_retry;
22262226
case -ENOBUFS:
@@ -2235,6 +2235,7 @@ call_connect_status(struct rpc_task *task)
22352235
out_retry:
22362236
/* Check for timeouts before looping back to call_bind */
22372237
task->tk_action = call_bind;
2238+
out:
22382239
rpc_check_timeout(task);
22392240
}
22402241

0 commit comments

Comments
 (0)