commit | 87e4ba1a62af8e05ee3e8f8aaca622714386ffb0 | [log] [tgz] |
---|---|---|
author | Trond Myklebust <Trond.Myklebust@netapp.com> | Fri Jun 09 09:34:30 2006 -0400 |
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | Fri Jun 09 09:34:30 2006 -0400 |
tree | f37f00e2c5cc5904f57395f800e8e6544eb062d9 | |
parent | 33a43f2802d8d7be3a9b541785c4ca9ad79e4310 [diff] |
NFSv4: Ensure that referral mounts bind to a reserved port Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
diff --git a/fs/nfs/inode.c b/fs/nfs/inode.c index ee13cb0..648f593 100644 --- a/fs/nfs/inode.c +++ b/fs/nfs/inode.c
@@ -2078,6 +2078,8 @@ __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)) {