提交 87e4ba1a 编写于 作者: T Trond Myklebust

NFSv4: Ensure that referral mounts bind to a reserved port

Signed-off-by: NTrond Myklebust <Trond.Myklebust@netapp.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册