kernel-ark/net/sunrpc
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
..
auth_gss SUNRPC: Dead code in net/sunrpc/auth_gss/auth_gss.c 2006-04-19 13:06:49 -04:00
auth_null.c
auth_unix.c
auth.c
cache.c [PATCH] knfsd: Fix two problems that can cause rmmod nfsd to die 2006-05-23 10:35:31 -07:00
clnt.c
Makefile
pmap_clnt.c
rpc_pipe.c [PATCH] mark f_ops const in the inode 2006-03-28 09:16:05 -08:00
sched.c
socklib.c
stats.c NFS: make 2 functions static 2006-04-19 12:43:47 -04:00
sunrpc_syms.c [PATCH] fs/nfsd/export.c,net/sunrpc/cache.c: make needlessly global code static 2006-03-27 08:44:43 -08:00
svc.c
svcauth_unix.c [PATCH] knfsd: Tidy up unix_domain_find 2006-03-27 08:44:43 -08:00
svcauth.c
svcsock.c
sysctl.c
timer.c
xdr.c
xprt.c
xprtsock.c SUNRPC: select privileged port numbers at random 2006-06-09 09:34:05 -04:00