kernel-ark/net/sunrpc/auth_gss
Jeff Layton 486bad2e40 sunrpc: on successful gss error pipe write, don't return error
When handling the gssd downcall, the kernel should distinguish between a
successful downcall that contains an error code and a failed downcall
(i.e. where the parsing failed or some other sort of problem occurred).

In the former case, gss_pipe_downcall should be returning the number of
bytes written to the pipe instead of an error. In the event of other
errors, we generally want the initiating task to retry the upcall so
we set msg.errno to -EAGAIN. An unexpected error code here is a bug
however, so BUG() in that case.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Cc: stable@kernel.org
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
2009-12-18 16:28:20 -05:00
..
auth_gss.c sunrpc: on successful gss error pipe write, don't return error 2009-12-18 16:28:20 -05:00
gss_generic_token.c SUNRPC: rpcsec_gss modules should not be used by out-of-tree code 2008-12-23 15:21:32 -05:00
gss_krb5_crypto.c
gss_krb5_mech.c SUNRPC: Fix up an error return value in gss_import_sec_context_kerberos() 2009-12-18 16:28:05 -05:00
gss_krb5_seal.c
gss_krb5_seqnum.c net: Move && and || to end of previous line 2009-11-29 16:55:45 -08:00
gss_krb5_unseal.c
gss_krb5_wrap.c
gss_mech_switch.c SUNRPC: Fix the return value in gss_import_sec_context() 2009-12-18 16:28:12 -05:00
gss_spkm3_mech.c
gss_spkm3_seal.c
gss_spkm3_token.c
gss_spkm3_unseal.c
Makefile
svcauth_gss.c net: Move && and || to end of previous line 2009-11-29 16:55:45 -08:00