lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Message-ID: <165030069404.5246.6833136485402480106.stgit@oracle-102.nfsv4.dev> Date: Mon, 18 Apr 2022 12:51:34 -0400 From: Chuck Lever <chuck.lever@...cle.com> To: netdev@...r.kernel.org, linux-nfs@...r.kernel.org, linux-nvme@...ts.infradead.org, linux-cifs@...r.kernel.org, linux-fsdevel@...r.kernel.org Cc: ak@...pesta-tech.com, borisp@...dia.com, simo@...hat.com Subject: [PATCH RFC 04/15] 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 <chuck.lever@...cle.com> --- net/sunrpc/clnt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/sunrpc/clnt.c b/net/sunrpc/clnt.c index af0174d7ce5a..ef3d7e4a26e7 100644 --- a/net/sunrpc/clnt.c +++ b/net/sunrpc/clnt.c @@ -2639,7 +2639,7 @@ rpc_decode_header(struct rpc_task *task, struct xdr_stream *xdr) out_verifier: trace_rpc_bad_verifier(task); - goto out_garbage; + goto out_err; out_msg_denied: error = -EACCES;
Powered by blists - more mailing lists