]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC: r307890
authorrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 8 Nov 2016 21:52:55 +0000 (21:52 +0000)
committerrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 8 Nov 2016 21:52:55 +0000 (21:52 +0000)
commitdb506aec1192dbccf4a13a8baf9aea006456aa46
tree3cee5e57da3828022f6b0595ce37f46e0917f4e0
parent5eea68dfba8d52eef2794a42de6bfbd0f488010c
MFC: r307890
mountd(8) was erroneously setting the sysctl for the old NFS server
when the new/default NFS server was running, for the "-n" option.

This patch fixes the problem for stable/10 and stable/9.
Since the new NFS server uses vfs.nfsd.nfs_privport == 0 by default,
there wouldn't have been many users affected by the code not setting
it to 0 when the "-n" option was specified.

git-svn-id: svn://svn.freebsd.org/base/stable/9@308454 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
usr.sbin/mountd/mountd.c