]> git.decadent.org.uk Git - nfs-utils.git/commit
umount.nfs: Use a privileged port when sending UMNT requests
authorChuck Lever <chuck.lever@oracle.com>
Sat, 18 Apr 2009 13:44:56 +0000 (09:44 -0400)
committerSteve Dickson <steved@redhat.com>
Sat, 18 Apr 2009 13:44:56 +0000 (09:44 -0400)
commit879a9b1b2bdd1160571896023d06291a611c4315
tree10f5b60de4675c43b74f73f39d312bc375d1d1a6
parent8c94296bc84f3a204f2061c0391a1d2350e4f37e
umount.nfs: Use a privileged port when sending UMNT requests

Turns out we do actually need to use a privileged port for UMNT.  The
Linux rpc.mountd complains if an ephemeral source port is used:

  Apr 17 15:52:19 ingres mountd[2061]: refused unmount request from
    192.168.0.59 for /export (/export): illegal port 60932

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
utils/mount/network.c