opnsense-src/sys/nfs
Ian Lepore 2596e59108 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.h Fix the experimental NFS client so that it does not bogusly 2011-04-25 22:22:51 +00:00
krpc_subr.c Avoid closing unallocated socket in case socreate fails. 2015-02-28 20:30:29 +00:00
nfs_common.h Remove the unused nfs_curusec(). 2013-01-17 19:03:24 +00:00
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 Move most of NFS file handle affinity code out of the heavily congested 2013-12-30 20:23:15 +00:00
nfs_kdtrace.h Move sys/nfsclient/nfs_kdtrace.h to sys/nfs/nfs_kdtrace.h so 2011-05-06 20:02:19 +00:00
nfs_lock.c Mark MALLOC_DEFINEs static that have no corresponding MALLOC_DECLAREs. 2011-11-07 06:44:47 +00:00
nfs_lock.h Modify the NFS clients and the NLM so that the NLM can be used 2010-10-19 00:20:00 +00:00
nfs_mountcommon.h Fix the nlm so that it no longer depends on the regular 2011-01-03 20:37:31 +00:00
nfs_nfssvc.c Avoid dynamic syscall overhead for statically compiled modules. 2014-10-26 19:42:44 +00:00
nfsdiskless.h Fix the experimental NFS client so that it does not bogusly 2011-04-25 22:22:51 +00:00
nfsproto.h NFSv4 client: 2006-11-28 19:33:28 +00:00
nfssvc.h Add kernel support to the NFS server for the "-manage-gids" 2015-11-30 21:54:27 +00:00
xdr_subs.h