freebsd-dev/sys/nfs
Ian Lepore eb2d4f022c Set ifctx->gotrootpath=1 only when the root path came from the dhcp/bootp
server (and not when it came from a fallback method such as the ROOTDEVNAME
option).  This makes the code in bootpc_init() choose the first interface
that provided a rootpath name.  Previously it was choosing the first
interface that got an IP address, which could be on a different and
potentially unreachable subnet than the server providing the rootfs.

If the rootpath name actually does come from a fallback source, then the
code continues to use the first interface in the list that got configured.

Note that this wasn't directly reported in the PR cited below, but was
discovered while working on that PR.

PR:		187094
2016-03-27 22:21:34 +00:00
..
bootp_subr.c Set ifctx->gotrootpath=1 only when the root path came from the dhcp/bootp 2016-03-27 22:21:34 +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 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
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