Commit 87e4ba1a authored by Trond Myklebust's avatar Trond Myklebust

NFSv4: Ensure that referral mounts bind to a reserved port

Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
parent 33a43f28
......@@ -2078,6 +2078,8 @@ static struct rpc_clnt *nfs4_create_client(struct nfs_server *server,
__FUNCTION__, err);
goto out_fail;
}
/* Bind to a reserved port! */
xprt->resvport = 1;
clnt = rpc_create_client(xprt, server->hostname, &nfs_program,
server->rpc_ops->version, flavor);
if (IS_ERR(clnt)) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment