linux-stable/net
Chuck Lever bcdb81ae29 [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>
2007-02-12 09:48:36 -08:00
..
802 [NET] 802: Fix whitespace errors. 2007-02-10 23:19:09 -08:00
8021q [NET] 8021Q: Fix whitespace errors. 2007-02-10 23:19:11 -08:00
appletalk [NET] APPLETALK: Fix whitespace errors. 2007-02-10 23:19:13 -08:00
atm [NET] ATM: Fix whitespace errors. 2007-02-10 23:19:16 -08:00
ax25 [NET] AX25: Fix whitespace errors. 2007-02-10 23:19:18 -08:00
bluetooth [NET] BLUETOOTH: Fix whitespace errors. 2007-02-10 23:19:20 -08:00
bridge [NET] BRIDGE: Fix whitespace errors. 2007-02-10 23:19:23 -08:00
core Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2007-02-11 11:38:13 -08:00
dccp [NET] DCCP: Fix whitespace errors. 2007-02-10 23:19:27 -08:00
decnet Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2007-02-11 11:38:13 -08:00
econet [NET] ECONET: Fix whitespace errors. 2007-02-10 23:19:32 -08:00
ethernet [NET] ETHERNET: Fix whitespace errors. 2007-02-10 23:19:34 -08:00
ieee80211 [NET] IEEE80211: Fix whitespace errors. 2007-02-10 23:19:36 -08:00
ipv4 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2007-02-11 11:38:13 -08:00
ipv6 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2007-02-11 11:38:13 -08:00
ipx [NET] IPX: Fix whitespace errors. 2007-02-10 23:19:44 -08:00
irda [NET] IRDA: Fix whitespace errors. 2007-02-10 23:19:47 -08:00
iucv [S390]: Add AF_IUCV socket support 2007-02-08 13:51:54 -08:00
key [NET] KEY: Fix whitespace errors. 2007-02-10 23:19:49 -08:00
lapb [NET] LAPB: Fix whitespace errors. 2007-02-10 23:19:51 -08:00
llc [NET] LLC: Fix whitespace errors. 2007-02-10 23:19:53 -08:00
netfilter [NETFILTER]: add IPv6-capable TCPMSS target 2007-02-08 12:39:16 -08:00
netlabel [NET] NETLABEL: Fix whitespace errors. 2007-02-10 23:19:56 -08:00
netlink [NET] NETLINK: Fix whitespace errors. 2007-02-10 23:19:58 -08:00
netrom [NET] NETROM: Fix whitespace errors. 2007-02-10 23:20:00 -08:00
packet [NET] PACKET: Fix whitespace errors. 2007-02-10 23:20:02 -08:00
rose [NET] ROSE: Fix whitespace errors. 2007-02-10 23:20:04 -08:00
rxrpc [NET] RXRPC: Fix whitespace errors. 2007-02-10 23:20:07 -08:00
sched [NET] SCHED: Fix whitespace errors. 2007-02-10 23:20:08 -08:00
sctp Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2007-02-11 11:38:13 -08:00
sunrpc [PATCH] knfsd: SUNRPC: add a "generic" function to see if the peer uses a secure port 2007-02-12 09:48:36 -08:00
tipc [NET] TIPC: Fix whitespace errors. 2007-02-10 23:20:15 -08:00
unix [NET] UNIX: Fix whitespace errors. 2007-02-10 23:20:18 -08:00
wanrouter [NET] WANROUTER: Fix whitespace errors. 2007-02-10 23:20:20 -08:00
x25 [NET] X25: Fix whitespace errors. 2007-02-10 23:20:22 -08:00
xfrm [NET] XFRM: Fix whitespace errors. 2007-02-10 23:20:24 -08:00
Kconfig [S390]: Rewrite of the IUCV base code, part 2 2007-02-08 13:37:42 -08:00
Makefile [S390]: Rewrite of the IUCV base code, part 2 2007-02-08 13:37:42 -08:00
TUNABLE
compat.c [NET]: Fix whitespace errors. 2007-02-10 23:20:27 -08:00
nonet.c [PATCH] Make most file operations structs in fs/ const 2006-03-28 09:16:06 -08:00
socket.c [NET]: Fix whitespace errors. 2007-02-10 23:20:27 -08:00
sysctl_net.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00