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.13-rc3~9^2~3 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=c297c8b99b07f496ff69a719cfb8e8fe852832ed;p=linux.git SUNRPC: do not fail gss proc NULL calls with EACCES Otherwise RPCSEC_GSS_DESTROY messages are not sent. Signed-off-by: Andy Adamson Signed-off-by: Trond Myklebust --- diff --git a/net/sunrpc/auth_gss/auth_gss.c b/net/sunrpc/auth_gss/auth_gss.c index 97912b40c254..42fdfc634e56 100644 --- a/net/sunrpc/auth_gss/auth_gss.c +++ b/net/sunrpc/auth_gss/auth_gss.c @@ -1517,7 +1517,7 @@ gss_refresh(struct rpc_task *task) static int gss_refresh_null(struct rpc_task *task) { - return -EACCES; + return 0; } static __be32 *