sunrpc: fix handling of unknown auth status codes
authorJeff Layton <jlayton@kernel.org>
Fri, 20 Jun 2025 12:16:01 +0000 (08:16 -0400)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 14 Jul 2025 16:46:47 +0000 (12:46 -0400)
commitd49afc90a3ba3af4507049fb43cb128d9a9c66d5
treee7eccc7b87dba28714d27879754f9d560c937099
parent03963793c82598ff89bcca11aba8444721f91009
sunrpc: fix handling of unknown auth status codes

In the case of an unknown error code from svc_authenticate or
pg_authenticate, return AUTH_ERROR with a status of AUTH_FAILED. Also
add the other auth_stat value from RFC 5531, and document all the status
codes.

Signed-off-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
include/linux/sunrpc/msg_prot.h
include/linux/sunrpc/xdr.h
net/sunrpc/svc.c