diff options
author | Wei Yongjun <yjwei@cn.fujitsu.com> | 2009-08-04 11:27:52 +0200 |
---|---|---|
committer | J. Bruce Fields <bfields@citi.umich.edu> | 2009-08-25 23:39:43 +0200 |
commit | eac81736e6884484ebb45f8d0cba639f3285382b (patch) | |
tree | 6a85f84718c22542a51b0df9939965c4d46c23a4 /net/sunrpc/xdr.c | |
parent | knfsd: Replace lock_kernel with a mutex in nfsd pool stats. (diff) | |
download | linux-eac81736e6884484ebb45f8d0cba639f3285382b.tar.xz linux-eac81736e6884484ebb45f8d0cba639f3285382b.zip |
sunrpc: reply AUTH_BADCRED to RPCSEC_GSS with unknown service
When an RPC message is received with RPCSEC_GSS with an unknown service
(not RPC_GSS_SVC_NONE, RPC_GSS_SVC_INTEGRITY, or RPC_GSS_SVC_PRIVACY),
svcauth_gss_accept() returns AUTH_BADCRED, but svcauth_gss_release()
subsequently drops the response entirely, discarding the error.
Fix that so the AUTH_BADCRED error is returned to the client.
Signed-off-by: Wei Yongjun <yjwei@cn.fujitsu.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Diffstat (limited to 'net/sunrpc/xdr.c')
0 files changed, 0 insertions, 0 deletions