Message ID | 20230904165009.12284-1-trondmy@kernel.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | SUNRPC: Mark the cred for revalidation if the server rejects it | expand |
diff --git a/net/sunrpc/clnt.c b/net/sunrpc/clnt.c index 943dc3897378..12c46e129db8 100644 --- a/net/sunrpc/clnt.c +++ b/net/sunrpc/clnt.c @@ -2750,6 +2750,7 @@ rpc_decode_header(struct rpc_task *task, struct xdr_stream *xdr) case rpc_autherr_rejectedverf: case rpcsec_gsserr_credproblem: case rpcsec_gsserr_ctxproblem: + rpcauth_invalcred(task); if (!task->tk_cred_retry) break; task->tk_cred_retry--;