From: Andy Adamson Date: Wed, 20 Nov 2013 18:00:17 +0000 (-0500) Subject: SUNRPC: do not fail gss proc NULL calls with EACCES X-Git-Tag: v3.12.17~31 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f5ddb3e95e4caa2414ddd79ed6f046f61da218a7;p=thirdparty%2Fkernel%2Fstable.git SUNRPC: do not fail gss proc NULL calls with EACCES commit c297c8b99b07f496ff69a719cfb8e8fe852832ed upstream. Otherwise RPCSEC_GSS_DESTROY messages are not sent. Signed-off-by: Andy Adamson Signed-off-by: Trond Myklebust Signed-off-by: Jiri Slaby --- diff --git a/net/sunrpc/auth_gss/auth_gss.c b/net/sunrpc/auth_gss/auth_gss.c index a7f9821d17608..bb035f8451c6a 100644 --- a/net/sunrpc/auth_gss/auth_gss.c +++ b/net/sunrpc/auth_gss/auth_gss.c @@ -1508,7 +1508,7 @@ out: static int gss_refresh_null(struct rpc_task *task) { - return -EACCES; + return 0; } static __be32 *