freebsd-nq/sys
Baptiste Daroussin 1b46e63d3c Stop closing the network device when netbooting for loaders using the common
dev_net.c code.

The NETIF_OPEN_CLOSE_ONCE flag was added in r201932 to prevent that behaviour
on some architectures (sparc64 and powerpc64) the default was left to always
open and close the device for each open and close of a file by the loader
because it was necessary for u-boot on arm.

Since it has been added, the flag was turned on for every arches including the
u-boot loader for arm.

This also fixes netbooting on RPi3 (tested by gonzo@)

For the loader.efi it greatly speeds up netbooting

Reviewed by:	emaste, gonzo, tsoome
Approved by:	gonzo
MFC after:	1 month
Sponsored by:	Gandi.net
Differential Revision:	https://reviews.freebsd.org/D8230
2016-10-13 22:43:49 +00:00
..
amd64 In the TCP stack, the hhook(9) framework provides hooks for kernel modules 2016-10-12 02:16:42 +00:00
arm Fix building on i386 and arm. But 'public domain' headers on the files 2016-10-13 06:56:23 +00:00
arm64 Move printing the AArch64 ID registers to a new SYSINIT, the previous 2016-10-13 09:06:29 +00:00
boot Stop closing the network device when netbooting for loaders using the common 2016-10-13 22:43:49 +00:00
bsm
cam Use copyout() instead of pointing sbuf to user-space buffer. 2016-10-12 08:25:13 +00:00
cddl Fix a race in vm_page_busy_sleep(9). 2016-10-13 14:41:05 +00:00
compat linuxkpi: Fix PCI BAR lazy allocation support. 2016-09-30 05:51:11 +00:00
conf Keep in-sync MK_SSP=no option both with kernel and userspace. 2016-10-12 13:51:41 +00:00
contrib Fix octeon model comparison in Cavium SDK 2016-10-13 17:16:32 +00:00
crypto Fix typo in skein amd64 assembly 2016-09-08 02:38:55 +00:00
ddb Determine the operand/address size of %cs in a new function 2016-09-25 16:30:29 +00:00
dev cxgbe(4): Allow the interface MTU to be set as high as the actual 2016-10-13 19:40:21 +00:00
fs Fix panic() message reporting ufs instead of nandfs 2016-10-13 19:33:07 +00:00
gdb
geom Fix possible geom destruction before final provider close. 2016-10-06 15:20:05 +00:00
gnu Revert and redo r306083. 2016-09-22 15:17:36 +00:00
i386 Fix building on i386 and arm. But 'public domain' headers on the files 2016-10-13 06:56:23 +00:00
isa
kern Fix a race in vm_page_busy_sleep(9). 2016-10-13 14:41:05 +00:00
kgssapi
libkern
mips Fix building on i386 and arm. But 'public domain' headers on the files 2016-10-13 06:56:23 +00:00
modules In the TCP stack, the hhook(9) framework provides hooks for kernel modules 2016-10-12 02:16:42 +00:00
net ifnet: Use if_link_state snapshot to invoke ifnet_link_event 2016-10-12 01:52:29 +00:00
net80211 [net80211] remove now duplicate copy of the QOSDATA check macro. 2016-10-13 16:45:01 +00:00
netgraph Avoid panic from ng_uncallout when unpluggin ethernet cable with active 2016-08-08 19:31:01 +00:00
netinet - Revert r300854, r303657 which tried to fix regression from r297225. 2016-10-13 20:15:47 +00:00
netinet6 - Revert r300854, r303657 which tried to fix regression from r297225. 2016-10-13 20:15:47 +00:00
netipsec Remove the 4.3BSD compatible macro m_copy(), use m_copym() instead. 2016-09-15 07:41:48 +00:00
netnatm
netpfil pf: port extended DSCP support from OpenBSD 2016-10-13 20:34:44 +00:00
netsmb
nfs Hide the boottime and bootimebin globals, provide the getboottime(9) 2016-07-27 11:08:59 +00:00
nfsclient
nfsserver
nlm When sleeping waiting for either local or remote advisory lock, 2016-06-26 20:08:42 +00:00
ofed Move the ConnectX-3 and ConnectX-2 driver from sys/ofed into sys/dev/mlx4 2016-09-30 08:23:06 +00:00
opencrypto opencrypto AES-ICM: Fix heap corruption typo 2016-08-01 22:57:03 +00:00
pc98 Fix building on i386 and arm. But 'public domain' headers on the files 2016-10-13 06:56:23 +00:00
powerpc Fix building on i386 and arm. But 'public domain' headers on the files 2016-10-13 06:56:23 +00:00
riscv Fix building on i386 and arm. But 'public domain' headers on the files 2016-10-13 06:56:23 +00:00
rpc Hide the boottime and bootimebin globals, provide the getboottime(9) 2016-07-27 11:08:59 +00:00
security Don't check aq64_minfree which is unsigned for negative values. 2016-09-08 19:47:57 +00:00
sparc64 Fix building on i386 and arm. But 'public domain' headers on the files 2016-10-13 06:56:23 +00:00
sys kern_linker: Handle module-loading failures in preloaded .ko files 2016-10-13 02:06:23 +00:00
teken
tests
tools Consider CROSS_BINUTILS_PREFIX environment variable so we use correct 2016-08-10 13:49:17 +00:00
ufs vfs: remove the __bo_vnode field from struct vnode 2016-09-30 17:11:03 +00:00
vm Plug a potential vnode lock leak in vm_fault_hold(). 2016-10-13 20:39:34 +00:00
x86 Merge ACPICA 20160930. 2016-10-04 20:27:15 +00:00
xdr
xen xen/vchan: change license of header from Lesser GPL v2.1 to BSD 2016-09-30 13:41:24 +00:00
Makefile