freebsd-dev/sys
Alfredo Dal'Ava Junior 3cb9f1976c nfs: skip bootpc when vfs.root.mountfrom is other than nfs
If "vfs.root.mountfrom" is set and the value is something other
than "nfs:*", it means the user doesn't want to mount root via nfs,
there's no reason to continue with bootpc

This fixes the powerpcspe kernel (MPC85XXSPE) that's compiled with
BOOTP_NFSROOT by default and gets stuck on bootpc/dhcp request loop
when no DHCP server is available on the network, even when user
specifies a local disk via "vfs.root.mountfrom" kernel parameter.

Reviewed by:	imp
MFC after:	2 weeks
Sponsored by:	Instituto de Pesquisas Eldorado (eldorado.org.br)
Differential Revision:	https://reviews.freebsd.org/D35098
2022-05-31 16:07:27 -03:00
..
amd64 linux(4): Properly restore the thread signal mask after signal delivery on i386 2022-05-30 20:03:49 +03:00
arm Fix an indentation bug in the bcm pci driver 2022-05-23 18:24:04 +01:00
arm64 linux(4): Properly build argument list for the signal handler 2022-05-30 19:53:12 +03:00
bsm
cam sysent: Get rid of bogus sys/sysent.h include. 2022-05-28 20:52:17 +03:00
cddl boot/zfs: Extend zfsimpl.h and make it easier to use 2022-05-21 14:30:35 -04:00
compat linux(4): Return EINVAL when the clockid has invalid bits are set 2022-05-31 11:46:15 +03:00
conf irdma: fix LINT-NOIP/NOINET/NOINET6 builds 2022-05-30 17:47:55 -03:00
contrib LinuxKPI 802.11 / iwlwifi / rtw88 : re-factor ieee802211_sta for MLO 2022-05-20 18:45:18 +00:00
crypto crypto: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-06 15:46:58 -07:00
ddb kerneldump: remove physical from dump routines 2022-05-13 10:43:19 -03:00
dev hwpmc: Add basic Intel Alderlake CPUs support. 2022-05-30 23:17:37 -04:00
dts sys/dts: Remove MIPS files 2022-05-20 17:11:27 +01:00
fs nfscl: Enable support for the Lookup+Open RPC 2022-05-31 11:59:39 -07:00
gdb
geom kerneldump: remove physical from dump routines 2022-05-13 10:43:19 -03:00
gnu bwn: eliminate dead writes in BWN_GPL_PHY 2022-05-04 09:32:59 -04:00
i386 linux(4): Properly restore the thread signal mask after signal delivery on i386 2022-05-30 20:03:49 +03:00
isa isa: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-06 15:46:59 -07:00
kern soo_aio_*: use socket buffer mutexes in struct socket directly 2022-05-30 20:46:38 -07:00
kgssapi kgssapi krb5: Remove unused variables. 2022-04-06 16:45:29 -07:00
libkern libkern: Fix two typos in source code comments 2022-04-09 09:36:34 +02:00
modules irdma: fix LINT-NOIP/NOINET/NOINET6 builds 2022-05-30 17:47:55 -03:00
net netinet6: fix ndp proxying 2022-05-30 10:53:33 +00:00
net80211 net80211: remove (optional) RSN from preobereq 2022-05-17 22:33:10 +00:00
netgraph sockbuf: merge two versions of sbcreatecontrol() into one 2022-05-17 10:10:42 -07:00
netinet lltable: introduce the llt_post_resolved callback 2022-05-30 10:53:33 +00:00
netinet6 netinet6: fix ndp proxying 2022-05-30 10:53:33 +00:00
netipsec ipsec_encap: setdf is only used for INET. 2022-04-13 16:08:21 -07:00
netpfil pf: make sure the rule tree is allocated in DIOCCHANGERULE 2022-05-30 14:09:53 +00:00
netsmb smb_smb_treedisconnect: eliminate write only variable mbp 2022-04-04 22:30:57 -06:00
nfs nfs: skip bootpc when vfs.root.mountfrom is other than nfs 2022-05-31 16:07:27 -03:00
nfsclient
nfsserver
nlm
ofed ibcore: Fix missing ib_cm_destroy_id() in ib_cm_insert_listen() 2022-05-30 20:22:18 +02:00
opencrypto crypto: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-06 15:46:58 -07:00
powerpc Retire sv_transtrap 2022-05-20 14:54:03 +03:00
riscv Retire sv_transtrap 2022-05-20 14:54:03 +03:00
rpc krpc: Fix NFS-over-TLS for KTLS1.3 2022-05-15 11:51:56 -07:00
security sysent: Get rid of bogus sys/sysent.h include. 2022-05-28 20:52:17 +03:00
sys hwpmc: Add basic Intel Alderlake CPUs support. 2022-05-30 23:17:37 -04:00
teken
tests
tools syscallarg_t: Add a type for system call arguments 2022-03-28 19:43:03 +01:00
ufs Do comprehensive UFS/FFS superblock integrity checks when reading a superblock. 2022-05-27 12:22:07 -07:00
vm vm_phys: avoid waste in multipage allocation 2022-04-26 02:56:23 -05:00
x86 linux(4): Properly restore the thread signal mask after signal delivery on i386 2022-05-30 20:03:49 +03:00
xdr
xen xen: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-06 15:46:58 -07:00
Makefile