sunrpc: Hash uids by first computing their value in the initial userns
authorEric W. Biederman <ebiederm@xmission.com>
Sat, 2 Feb 2013 09:57:30 +0000 (01:57 -0800)
committerEric W. Biederman <ebiederm@xmission.com>
Wed, 13 Feb 2013 14:15:23 +0000 (06:15 -0800)
commit9e469e30d712b54cd3ff4a82d4dd5510522b8f16
treee3bf5401b2489973a0b7f10e1f555f24e07f0341
parent683428fae8c73d7d7da0fa2e0b6beb4d8df4e808
sunrpc: Hash uids by first computing their value in the initial userns

In svcauth_unix introduce a helper unix_gid_hash as otherwise the
expresion to generate the hash value is just too long.

Cc: "J. Bruce Fields" <bfields@fieldses.org>
Cc: Trond Myklebust <Trond.Myklebust@netapp.com>
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
net/sunrpc/auth.c
net/sunrpc/svcauth_unix.c