freebsd-skq/sys/nfs
ian 4ceaabdb32 Do not try to install a default route for each interface found, because
only the first one will actually work and all the others just result in
errors (which would get printed but otherwise ignored).

Instead, wait until we make a choice of which interface will be used to
mount the rootfs, and install the default route associated with it (if any).
After doing the md_mount() call to obtain the needed info, remove the
default route again, and transcribe the route info into the nfs_diskless
structure.  If the system eventually chooses to mount the nfs rootfs, the
default route will be installed again when the nfs_diskless code
re-initializes the interface.

The theory here is that since we can only have one default route, the one
most likely to be correct for mounting the rootfs is the one that was
delivered along with the rootpath option.
2016-03-27 23:16:37 +00:00
..
bootp_subr.c Do not try to install a default route for each interface found, because 2016-03-27 23:16:37 +00:00
krpc_subr.c Avoid closing unallocated socket in case socreate fails. 2015-02-28 20:30:29 +00:00
krpc.h
nfs_common.h
nfs_diskless.c It appears nfs_mountroot() will use the env var "boot.netif.mtu" if it 2016-03-20 21:48:26 +00:00
nfs_fha.c Fix/improve fhe_stats sysctl output. 2014-06-14 12:26:12 +00:00
nfs_fha.h
nfs_kdtrace.h
nfs_lock.c
nfs_lock.h
nfs_mountcommon.h
nfs_nfssvc.c Avoid dynamic syscall overhead for statically compiled modules. 2014-10-26 19:42:44 +00:00
nfsdiskless.h
nfsproto.h
nfssvc.h Add kernel support to the NFS server for the "-manage-gids" 2015-11-30 21:54:27 +00:00
xdr_subs.h