diff --git a/net/sunrpc/clnt.c b/net/sunrpc/clnt.c index b098e707ad4155f235046b02a355fb2e043d592a..7d268a291486ba54f692cbc8dfd1a8dd79529530 100644 --- a/net/sunrpc/clnt.c +++ b/net/sunrpc/clnt.c @@ -1902,7 +1902,7 @@ call_encode(struct rpc_task *task) break; case -EKEYEXPIRED: if (!task->tk_cred_retry) { - rpc_exit(task, task->tk_status); + rpc_call_rpcerror(task, task->tk_status); } else { task->tk_action = call_refresh; task->tk_cred_retry--;