]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC: r345992, r346087
authorrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 21 Apr 2019 01:15:54 +0000 (01:15 +0000)
committerrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 21 Apr 2019 01:15:54 +0000 (01:15 +0000)
commita34ee92841aa268b002020f4ae606024f422c3c2
treec64f0a294e3fb11d14b36f86b0d9454ca02e94e2
parent8a7d1c27d1bd31c3730df964dec8a9dd7dceff0e
MFC: r345992, r346087
Add INET6 support for the upcalls to the nfsuserd daemon.

The kernel code uses UDP to do upcalls to the nfsuserd(8) daemon to get
updates to the username<->uid and groupname<->gid mappings.
A change to AF_LOCAL last year had to be reverted, since it could result
in vnode locking issues on the AF_LOCAL socket.
This patch adds INET6 support and the required #ifdef INET and INET6
to the code.

git-svn-id: svn://svn.freebsd.org/base/stable/10@346466 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/fs/nfs/nfs.h
sys/fs/nfs/nfs_commonport.c
sys/fs/nfs/nfs_commonsubs.c
sys/fs/nfs/nfs_var.h
sys/modules/nfscommon/Makefile