kernel-ark/net
Chuck Lever b85d880684 SUNRPC: select privileged port numbers at random
Make the RPC client select privileged ephemeral source ports at
random.  This improves DRC behavior on the server by using the
same port when reconnecting for the same mount point, but using
a different port for fresh mounts.

The Linux TCP implementation already does this for nonprivileged
ports.  Note that TCP sockets in TIME_WAIT will prevent quick reuse
of a random ephemeral port number by leaving the port INUSE until
the connection transitions out of TIME_WAIT.

Test plan:
Connectathon against every known server implementation using multiple
mount points.  Locking especially.

Signed-off-by: Chuck Lever <cel@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
2006-06-09 09:34:05 -04:00
..
802
8021q
appletalk
atm
ax25
bluetooth
bridge [BRIDGE]: fix locking and memory leak in br_add_bridge 2006-06-05 16:39:34 -07:00
core [NET]: dev.c comment fixes 2006-05-26 13:25:24 -07:00
dccp
decnet
econet
ethernet [NET]: Eliminate unused /proc/sys/net/ethernet 2006-06-05 15:34:11 -07:00
ieee80211
ipv4 [TCP]: Avoid skb_pull if possible when trimming head 2006-06-05 15:03:37 -07:00
ipv6 [IPV6] ROUTE: Don't try less preferred routes for on-link routes. 2006-05-26 13:23:41 -07:00
ipx
irda [IRDA]: Missing allocation result check in irlap_change_speed(). 2006-06-05 15:34:52 -07:00
key
lapb
llc
netfilter [NETFILTER]: nfnetlink_log: fix byteorder confusion 2006-05-19 02:17:18 -07:00
netlink
netrom
packet
rose
rxrpc
sched
sctp [SCTP]: Allow linger to abort 1-N style sockets. 2006-05-19 14:32:06 -07:00
sunrpc SUNRPC: select privileged port numbers at random 2006-06-09 09:34:05 -04:00
tipc
unix
wanrouter
x25
xfrm [NET]: Fix "ntohl(ntohs" bugs 2006-05-22 16:53:22 -07:00
compat.c
Kconfig
Makefile
nonet.c
socket.c
sysctl_net.c [NET]: Eliminate unused /proc/sys/net/ethernet 2006-06-05 15:34:11 -07:00
TUNABLE