From: Chuck Lever Date: Mon, 12 Feb 2007 08:53:37 +0000 (-0800) Subject: [PATCH] knfsd: SUNRPC: add a "generic" function to see if the peer uses a secure... X-Git-Tag: v2.6.21-rc1~274^2~110 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bcdb81ae29091f6a66369aabfd8324e4a53d05dc;p=pandora-kernel.git [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 Cc: Aurelien Charbon Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed