From: Wei Yongjun Date: Tue, 4 Aug 2009 09:27:52 +0000 (+0800) Subject: sunrpc: reply AUTH_BADCRED to RPCSEC_GSS with unknown service X-Git-Tag: v2.6.32-rc1~412^2~38 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eac81736e6884484ebb45f8d0cba639f3285382b;p=pandora-kernel.git 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 Signed-off-by: J. Bruce Fields --- Reading git-diff-tree failed