Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

NFSv4: Ensure that referral mounts bind to a reserved port

parent 33a43f28
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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)) {