freebsd-nq/sys
Andrey V. Elsukov 2b9600b449 Add dead_bpf_if structure, that should be used as fake bpf_if
during ifnet detach.

Since destroying interface is not atomic operation and due to the
lack of synhronization during destroy, it is possible, that in the
time between bpfdetach() and if_free() some queued on destroying
interface mbuf will be used by ether_input_internal() and
bpf_peers_present() can dereference NULL bpf_if pointer. To protect
from this, assign pointer to empty bpf_if_ext structure instead of
NULL pointer after bpfdetach().

Reviewed by:	melifaro, eugen
Obtained from:	Yandex LLC
MFC after:	1 week
Sponsored by:	Yandex LLC
Differential Revision:	https://reviews.freebsd.org/D15083
2018-04-20 09:57:31 +00:00
..
amd64 Simplify the code to allocate stack for auxv, argv[], and environment vectors. 2018-04-19 16:00:34 +00:00
arm Remove the unused fuwintr() and suiwintr() functions. 2018-04-17 18:04:28 +00:00
arm64 Remove the unused fuwintr() and suiwintr() functions. 2018-04-17 18:04:28 +00:00
bsm
cam Just assert that the lock is held here, rather than taking it out and 2018-04-13 16:45:35 +00:00
cddl 9433 Fix ARC hit rate 2018-04-16 00:54:58 +00:00
compat Simplify the code to allocate stack for auxv, argv[], and environment vectors. 2018-04-19 16:00:34 +00:00
conf This commit brings in the TCP high precision timer system (tcp_hpts). 2018-04-19 13:37:59 +00:00
contrib Import CK as of commit b19ed4c6a56ec93215ab567ba18ba61bf1cfbac8 2018-04-02 23:40:50 +00:00
crypto opencrypto: Integrate Chacha20 algorithm into OCF 2018-03-29 04:02:50 +00:00
ddb Restore db_radix on parse error, otherwise we'll silently change it to 2018-04-17 15:44:05 +00:00
dev cxgbe(4): Fix bugs in the handling of COP rules that match on VLAN tag. 2018-04-19 18:10:44 +00:00
dts Convert atse(4) driver for Altera Triple-Speed Ethernet MegaCore to use 2018-04-13 15:59:24 +00:00
fs Fix OpenDowngrade for NFSv4.1 if a client sets the OPEN_SHARE_ACCESS_WANT* bits. 2018-04-19 20:30:33 +00:00
gdb
geom Annotate geom modules with MODULE_VERSION 2018-04-10 19:18:16 +00:00
gnu
i386 Use symbolic constant, explaining the operation. 2018-04-19 18:08:46 +00:00
isa
kern Simplify the code to allocate stack for auxv, argv[], and environment vectors. 2018-04-19 16:00:34 +00:00
kgssapi
libkern
mips Remove the unused fuwintr() and suiwintr() functions. 2018-04-17 18:04:28 +00:00
modules Add PNP info to the PCI attahement of the puc driver. 2018-04-17 16:46:08 +00:00
net Add dead_bpf_if structure, that should be used as fake bpf_if 2018-04-20 09:57:31 +00:00
net80211 Use an accessor function to access ifr_data. 2018-03-30 18:50:13 +00:00
netgraph
netinet These two modules need the tcp_hpts.h file for 2018-04-19 15:03:48 +00:00
netinet6 Remove support for the Arcnet protocol. 2018-04-13 21:18:04 +00:00
netipsec
netpfil To avoid possible deadlock do not acquire JQUEUE_LOCK before callout_drain. 2018-04-13 10:03:30 +00:00
netsmb
nfs Remove support for FDDI networks. 2018-04-11 17:28:24 +00:00
nfsclient
nfsserver
nlm
ofed Improve copy-and-pasted versions of SIOCGIFADDR. 2018-03-27 20:51:49 +00:00
opencrypto cryptosoft: Do not exceed crd_len around *crypt_multi 2018-04-19 15:24:21 +00:00
powerpc powerpc64: Set n_slbs = 32 for POWER9 2018-04-20 03:23:19 +00:00
riscv Remove the unused fuwintr() and suiwintr() functions. 2018-04-17 18:04:28 +00:00
rpc
security Use an accessor function to access ifr_data. 2018-03-30 18:50:13 +00:00
sparc64 Remove references to fs_nofault_intr_begin/end. 2018-04-17 22:30:00 +00:00
sys Simplify the code to allocate stack for auxv, argv[], and environment vectors. 2018-04-19 16:00:34 +00:00
teken Pedantic polishing of code to please FlexeLint. 2018-04-08 19:23:50 +00:00
tests
tools
ufs Renumber soft-update types starting at 1 instead of 0 to avoid confusion 2018-04-05 00:32:01 +00:00
vm Initialize marker pages in vm_page_domain_init(). 2018-04-19 14:09:44 +00:00
x86 Fix two off-by-one errors when allocating MSI and MSI-X interrupts. 2018-04-18 18:45:34 +00:00
xdr
xen
Makefile