freebsd-dev/sys
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
..
amd64 Revert r297310 as the SOL_XXX are equal to the IPPROTO_XX except SOL_SOCKET. 2016-03-27 10:09:10 +00:00
arm Only define the platform methods for the Allwinner platforms we are 2016-03-26 17:49:46 +00:00
arm64 arm64: Fixing user space boudary checking in copyinout.S 2016-03-24 13:28:33 +00:00
boot Do not prompt for GELI passphrase is encrypted with keys only 2016-03-26 15:39:48 +00:00
bsm Merge from contrib/openbsm to bring the kernel audit bits up to date with OpenBSM 1.2 alpha 4: 2015-12-20 23:22:04 +00:00
cam Add 4k enabled cam quirks for Samsung SM863 Series SSDs 2016-03-24 14:20:33 +00:00
cddl Unify ignoring EEXIST from zvol_create_minor(). 2016-03-24 10:10:41 +00:00
compat Revert r297310 as the SOL_XXX are equal to the IPPROTO_XX except SOL_SOCKET. 2016-03-27 10:09:10 +00:00
conf Adding pci_host_generic unconditionally breaks ARM boards with a PCI(e) interface. 2016-03-22 12:12:01 +00:00
contrib Replace the CloudABI system call table by a machine generated version. 2016-03-24 21:47:15 +00:00
crypto Break up opencrypto/xform.c so it can be reused piecemeal 2015-12-30 22:43:07 +00:00
ddb Add td_swinvoltick to track last involuntary context switch 2016-03-25 19:35:29 +00:00
dev Plug leak in m_unshare. 2016-03-26 23:39:53 +00:00
fs Speed up lookups in autofs(5) by using red-black trees instead of linear 2016-03-24 13:34:39 +00:00
gdb
geom Don't assume that bio_cmd is a bit mask. 2016-03-10 06:25:39 +00:00
gnu Update our copy of the Linux dts files to be in sync with Linux 4.5-rc1. We 2016-02-09 16:42:32 +00:00
i386 Revert r297310 as the SOL_XXX are equal to the IPPROTO_XX except SOL_SOCKET. 2016-03-27 10:09:10 +00:00
isa Fix the resource_list_print_type() calls to use uintmax_t. 2016-03-22 22:25:08 +00:00
kern Plug leak in m_unshare. 2016-03-26 23:39:53 +00:00
kgssapi kcrypto_aes: Use separate sessions for AES and SHA1 2016-02-02 00:14:51 +00:00
libkern
mips Fix the resource_list_print_type() calls to use uintmax_t. 2016-03-22 22:25:08 +00:00
modules [urtwn] migrate urtwn out into sys/dev/urtwn/ . 2016-03-20 03:54:57 +00:00
net Fix compile errors after r297225: 2016-03-24 11:40:10 +00:00
net80211 net80211: fix panic for DWDS vaps 2016-03-26 08:59:56 +00:00
netgraph Migrate many bus_alloc_resource() calls to bus_alloc_resource_anywhere(). 2016-02-27 03:38:01 +00:00
netinet Improve compilation on windows 64-bit (for the userland stack). 2016-03-27 10:04:25 +00:00
netinet6 FreeBSD previously provided route caching for TCP (and UDP). Re-add 2016-03-24 07:54:56 +00:00
netipsec Fix handling of net.inet.ipsec.dfbit=2 variable. 2016-03-18 09:03:00 +00:00
netnatm
netpfil pf: Improve forwarding detection 2016-03-16 06:42:15 +00:00
netsmb The problem report was for a crash that happened when smbfs was 2015-11-18 23:04:01 +00:00
nfs Set ifctx->gotrootpath=1 only when the root path came from the dhcp/bootp 2016-03-27 22:21:34 +00:00
nfsclient
nfsserver
nlm
ofed Add missing curly brackets in for loop. 2016-03-17 12:30:21 +00:00
opencrypto Break up opencrypto/xform.c so it can be reused piecemeal 2015-12-30 22:43:07 +00:00
pc98 Fix the resource_list_print_type() calls to use uintmax_t. 2016-03-22 22:25:08 +00:00
powerpc Fix the resource_list_print_type() calls to use uintmax_t. 2016-03-22 22:25:08 +00:00
riscv Add support for ddb(4). 2016-03-10 15:51:43 +00:00
rpc Fix incorrect (fortunately bigger) malloc size. 2016-03-19 11:48:06 +00:00
security Busy the mount point which is the owner of the audit vnode, around 2016-01-16 10:06:33 +00:00
sparc64 Fix the resource_list_print_type() calls to use uintmax_t. 2016-03-22 22:25:08 +00:00
sys Add td_swinvoltick to track last involuntary context switch 2016-03-25 19:35:29 +00:00
teken
tests Style 9 changes. 2015-11-12 10:31:14 +00:00
tools Fix MFS builds when both MD_ROOT_SIZE and MFS_IMAGE are specified 2016-02-02 07:02:51 +00:00
ufs Split the global taskqueue used to process all UFS trim completions, 2016-03-27 08:21:17 +00:00
vm Remove UMA_ZONE_REFCNT feature, now unused. 2016-03-01 00:33:32 +00:00
x86 Enable interrupts on the BSP once all PICs are initialized. 2016-03-24 00:24:07 +00:00
xdr
xen xenbus: add a comment with the names of the generated accessors 2016-01-15 14:34:31 +00:00
Makefile Add riscv to the list of architectures for cscope. 2016-02-29 16:39:27 +00:00