summaryrefslogtreecommitdiff
path: root/net/sunrpc
diff options
context:
space:
mode:
authorNeil Brown <neilb@cse.unsw.edu.au>2004-08-22 23:00:36 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-08-22 23:00:36 -0700
commit4feb71cc86bfabfd357787191bc3f77ab33dd088 (patch)
treee9ee6a739087ccb517b59016657a055f5d749f34 /net/sunrpc
parentaecbbdf9df4ed3bac6d5d91425216cc3a315394b (diff)
[PATCH] nfsd: nfsd is missing a put_group_info in the auth_null
nfsd is missing a put_group_info in the auth_null case. Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu> Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'net/sunrpc')
-rw-r--r--net/sunrpc/svcauth_unix.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/sunrpc/svcauth_unix.c b/net/sunrpc/svcauth_unix.c
index 6d98c3bc6041..14e51e119716 100644
--- a/net/sunrpc/svcauth_unix.c
+++ b/net/sunrpc/svcauth_unix.c
@@ -405,6 +405,9 @@ svcauth_null_release(struct svc_rqst *rqstp)
if (rqstp->rq_client)
auth_domain_put(rqstp->rq_client);
rqstp->rq_client = NULL;
+ if (rqstp->rq_cred.cr_group_info)
+ put_group_info(rqstp->rq_cred.cr_group_info);
+ rqstp->rq_cred.cr_group_info = NULL;
return 0; /* don't drop */
}