NLM: Rewrite IPv4 privileged requester's check
authorChuck Lever <chuck.lever@oracle.com>
Thu, 11 Dec 2008 22:56:52 +0000 (17:56 -0500)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Tue, 6 Jan 2009 16:53:56 +0000 (11:53 -0500)
commit57ef692588bc225853ca3267ca5b7cea2b07e058
treed643d6d9d503288078b989aa37abc89cf1d78a6b
parentd1208f70738c91f13b4eadb1b7a694082e439da2
NLM: Rewrite IPv4 privileged requester's check

Clean up.

For consistency, rewrite the IPv4 check to match the same style as the
new IPv6 check.  Note that ipv4_is_loopback() is somewhat broader in
its interpretation of what is a loopback address than simply
"127.0.0.1".

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
include/linux/lockd/lockd.h