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: submit/tizen_common/20140905.094502~254 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f5ddb3e95e4caa2414ddd79ed6f046f61da218a7;p=sdk%2Femulator%2Femulator-kernel.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 a7f9821d1760..bb035f8451c6 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 *