aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChuck Lever <cel@citi.umich.edu>2005-08-11 16:25:17 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2005-09-23 12:38:08 -0400
commit602f83273c89fdd25f24757564d8001cf723e740 (patch)
tree5268f27e143907ca08d265fdbc49e9c5c89e914d
parenteab5c084b858fd95a873fc2b97de9a9ad937b4ed (diff)
[PATCH] RPC: portmapper doesn't need a reserved port
The in-kernel portmapper does not require a reserved port for making bind queries. Test-plan: Tens of runs of the Connectathon locking suite with TCP and UDP against several other NFS server implementations using NFSv3, not NFSv4 (which doesn't require rpcbind). Version: Thu, 11 Aug 2005 16:02:43 -0400 Signed-off-by: Chuck Lever <cel@netapp.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
-rw-r--r--net/sunrpc/pmap_clnt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/sunrpc/pmap_clnt.c b/net/sunrpc/pmap_clnt.c
index 4e81f2766923..d8e3f220002b 100644
--- a/net/sunrpc/pmap_clnt.c
+++ b/net/sunrpc/pmap_clnt.c
@@ -208,6 +208,7 @@ pmap_create(char *hostname, struct sockaddr_in *srvaddr, int proto)
208 if (IS_ERR(xprt)) 208 if (IS_ERR(xprt))
209 return (struct rpc_clnt *)xprt; 209 return (struct rpc_clnt *)xprt;
210 xprt->addr.sin_port = htons(RPC_PMAP_PORT); 210 xprt->addr.sin_port = htons(RPC_PMAP_PORT);
211 xprt->resvport = 0;
211 212
212 /* printk("pmap: create clnt\n"); */ 213 /* printk("pmap: create clnt\n"); */
213 clnt = rpc_new_client(xprt, hostname, 214 clnt = rpc_new_client(xprt, hostname,