diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2007-02-12 00:53:37 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-12 09:48:36 -0800 |
commit | bcdb81ae29091f6a66369aabfd8324e4a53d05dc (patch) | |
tree | ce70eed085bd56c0b1eaffa838ca27bec94e1345 /block/ll_rw_blk.c | |
parent | b92503b25c3f794cff5f96626ea3ecba8d10d254 (diff) |
[PATCH] knfsd: SUNRPC: add a "generic" function to see if the peer uses a secure port
The only reason svcsock.c looks at a sockaddr's port is to check whether the
remote peer is connecting from a privileged port. Refactor this check to hide
processing that is specific to address format.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Cc: Aurelien Charbon <aurelien.charbon@ext.bull.net>
Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'block/ll_rw_blk.c')
0 files changed, 0 insertions, 0 deletions