summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Adamson <andros@netapp.com>2013-11-20 18:00:17 (GMT)
committerJiri Slaby <jslaby@suse.cz>2014-04-03 08:32:12 (GMT)
commitf5ddb3e95e4caa2414ddd79ed6f046f61da218a7 (patch)
tree11ba83156c42daefc902bbfa7ddeb4a194e47153
parente8bdefebda1ee5641d5eaf30ada4ae8dc3acff8e (diff)
downloadlinux-fsl-qoriq-f5ddb3e95e4caa2414ddd79ed6f046f61da218a7.tar.xz
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 <andros@netapp.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> Signed-off-by: Jiri Slaby <jslaby@suse.cz>
-rw-r--r--net/sunrpc/auth_gss/auth_gss.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sunrpc/auth_gss/auth_gss.c b/net/sunrpc/auth_gss/auth_gss.c
index a7f9821..bb035f8 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 *