From: Chuck Lever Date: Fri, 22 Jul 2022 19:08:04 +0000 (-0400) Subject: SUNRPC: Fail faster on bad verifier X-Git-Tag: v6.0-rc1~38^2~27 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0701214cd6e66585a999b132eb72ae0489beb724;p=thirdparty%2Fkernel%2Flinux.git SUNRPC: Fail faster on bad verifier A bad verifier is not a garbage argument, it's an authentication failure. Retrying it doesn't make the problem go away, and delays upper layer recovery steps. Signed-off-by: Chuck Lever Reviewed-by: Jeff Layton Signed-off-by: Trond Myklebust --- diff --git a/net/sunrpc/clnt.c b/net/sunrpc/clnt.c index b6781ada3aa8d..a97d4e06cae38 100644 --- a/net/sunrpc/clnt.c +++ b/net/sunrpc/clnt.c @@ -2650,7 +2650,7 @@ out_unparsable: out_verifier: trace_rpc_bad_verifier(task); - goto out_garbage; + goto out_err; out_msg_denied: error = -EACCES;