From: Chuck Lever Date: Wed, 3 Sep 2008 18:36:08 +0000 (-0400) Subject: lockd: Support AF_INET6 when hashing addresses in nlm_lookup_host X-Git-Tag: v2.6.28-rc1~576^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ede2fea099cf1dabe41e5b9563558bc7aee82248;p=pandora-kernel.git 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 Signed-off-by: J. Bruce Fields --- Reading git-diff-tree failed