kernel_samsung_a53x/net/sunrpc/auth_gss
Chuck Lever 9705fedbeb SUNRPC: Set rq_auth_stat in the pg_authenticate() callout
[ Upstream commit 5c2465dfd457f3015eebcc3ace50570e1d896aeb ]

In a few moments, rq_auth_stat will need to be explicitly set to
rpc_auth_ok before execution gets to the dispatcher.

svc_authenticate() already sets it, but it often gets reset to
rpc_autherr_badcred right after that call, even when authentication
is successful. Let's ensure that the pg_authenticate callout and
svc_set_client() set it properly in every case.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-19 12:27:45 +01:00
..
auth_gss.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
auth_gss_internal.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
gss_generic_token.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
gss_krb5_crypto.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
gss_krb5_keys.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
gss_krb5_mech.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
gss_krb5_seal.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
gss_krb5_seqnum.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
gss_krb5_unseal.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
gss_krb5_wrap.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
gss_mech_switch.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
gss_rpc_upcall.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
gss_rpc_upcall.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
gss_rpc_xdr.c SUNRPC: Add xdr_set_scratch_page() and xdr_reset_scratch_buffer() 2024-11-19 12:27:20 +01:00
gss_rpc_xdr.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
svcauth_gss.c SUNRPC: Set rq_auth_stat in the pg_authenticate() callout 2024-11-19 12:27:45 +01:00
trace.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00