diff options
author | Chuck Lever <[email protected]> | 2008-09-03 14:36:08 -0400 |
---|---|---|
committer | J. Bruce Fields <[email protected]> | 2008-09-29 18:13:39 -0400 |
commit | ede2fea099cf1dabe41e5b9563558bc7aee82248 (patch) | |
tree | b007bc10b257a0615323c8dbc446aa3b9f0f1d67 /net/unix/sysctl_net_unix.c | |
parent | 781b61a6f4ff94cb8c14cf598b547f5d5c490969 (diff) |
lockd: Support AF_INET6 when hashing addresses in nlm_lookup_host
Adopt an approach similar to the RPC server's auth cache (from Aurelien
Charbon and Brian Haley).
Note nlm_lookup_host()'s existing IP address hash function has the same
issue with correctness on little-endian systems as the original IPv4 auth
cache hash function, so I've also updated it with a hash function similar
to the new auth cache hash function.
Signed-off-by: Chuck Lever <[email protected]>
Signed-off-by: J. Bruce Fields <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions