[PATCH] RPC: allow RPC client's port range to be adjustable
authorChuck Lever <cel@netapp.com>
Thu, 25 Aug 2005 23:25:54 +0000 (16:25 -0700)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 23 Sep 2005 16:38:50 +0000 (12:38 -0400)
commit529b33c6db0120126b1381faa51406dc463acdc9
tree4856a23687aa891f6a5d1c45db80190b90b0fc68
parent555ee3af161b037865793bd4bebc06b58daafde6
[PATCH] RPC: allow RPC client's port range to be adjustable

 Select an RPC client source port between 650 and 1023 instead of between
 1 and 800.  The old range conflicts with a number of network services.
 Provide sysctls to allow admins to select a different port range.

 Note that this doesn't affect user-level RPC library behavior, which
 still uses 1 to 800.

 Based on a suggestion by Olaf Kirch <okir@suse.de>.

 Test-plan:
 Repeated mount and unmount.  Destructive testing.  Idle timeouts.

Signed-off-by: Chuck Lever <cel@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
include/linux/sunrpc/debug.h
include/linux/sunrpc/xprt.h
net/sunrpc/sysctl.c
net/sunrpc/xprtsock.c