]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
NLM: allow lockd requests from an unprivileged port
authorChuck Lever <chuck.lever@oracle.com>
Tue, 23 Dec 2008 20:21:38 +0000 (15:21 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 23 Dec 2008 20:21:38 +0000 (15:21 -0500)
commit0cb2659b818eca99235e17c04291cfa9985c14f7
tree48fc176e1e1e8a6f771e664799c26df1d72e9f69
parent50a737f86dbf99daf3a8dcbdf778a3be36bb2a39
NLM: allow lockd requests from an unprivileged port

If the admin has specified the "noresvport" option for an NFS mount
point, the kernel's NFS client uses an unprivileged source port for
the main NFS transport.  The kernel's lockd client should use an
unprivileged port in this case as well.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/lockd/clntlock.c
fs/lockd/host.c
fs/nfs/client.c
include/linux/lockd/bind.h
include/linux/lockd/lockd.h