git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
kernel: make groups_sort calling a responsibility group_info allocators
[pandora-kernel.git]
/
net
/
sunrpc
/
auth_gss
/
svcauth_gss.c
diff --git
a/net/sunrpc/auth_gss/svcauth_gss.c
b/net/sunrpc/auth_gss/svcauth_gss.c
index
8d0f7d3
..
f5c6068
100644
(file)
--- a/
net/sunrpc/auth_gss/svcauth_gss.c
+++ b/
net/sunrpc/auth_gss/svcauth_gss.c
@@
-477,6
+477,7
@@
static int rsc_parse(struct cache_detail *cd,
goto out;
GROUP_AT(rsci.cred.cr_group_info, i) = gid;
}
goto out;
GROUP_AT(rsci.cred.cr_group_info, i) = gid;
}
+ groups_sort(rsci.cred.cr_group_info);
/* mech name */
len = qword_get(&mesg, buf, mlen);
/* mech name */
len = qword_get(&mesg, buf, mlen);
@@
-1151,7
+1152,7
@@
svcauth_gss_accept(struct svc_rqst *rqstp, __be32 *authp)
case RPC_GSS_PROC_DESTROY:
if (gss_write_verf(rqstp, rsci->mechctx, gc->gc_seq))
goto auth_err;
case RPC_GSS_PROC_DESTROY:
if (gss_write_verf(rqstp, rsci->mechctx, gc->gc_seq))
goto auth_err;
- rsci->h.expiry_time =
get_seconds
();
+ rsci->h.expiry_time =
seconds_since_boot
();
set_bit(CACHE_NEGATIVE, &rsci->h.flags);
if (resv->iov_len + 4 > PAGE_SIZE)
goto drop;
set_bit(CACHE_NEGATIVE, &rsci->h.flags);
if (resv->iov_len + 4 > PAGE_SIZE)
goto drop;