freebsd-nq/sys
Kristof Provost eb03a44325 vlan: Fix panic when vnet jail with a vlan interface is destroyed
During vnet cleanup vnet_if_uninit() checks that no more interfaces remain in
the vnet. Any interface borrowed from another vnet is returned by
vnet_if_return(). Other interfaces (i.e. cloned interfaces) should have been
destroyed by their cloner at this point.

The if_vlan VNET_SYSUNINIT had priority SI_ORDER_FIRST, which means it had
equal priority as vnet_if_uninit(). In other words: it was possible for it to
be called *after* vnet_if_uninit(), which would lead to assertion failures.

Set the priority to SI_ORDER_ANY, like other cloners to ensure that vlan
interfaces are destroyed before we enter vnet_if_uninit().

The sys/net/if_vlan test provoked this.
2020-01-31 22:54:44 +00:00
..
amd64 Reimplement stack capture of running threads on i386 and amd64. 2020-01-31 15:43:33 +00:00
arm Reimplement stack capture of running threads on i386 and amd64. 2020-01-31 15:43:33 +00:00
arm64 Reimplement stack capture of running threads on i386 and amd64. 2020-01-31 15:43:33 +00:00
bsm Jail and capability mode for shm_rename; add audit support for shm_rename 2019-11-18 13:31:16 +00:00
cam Fix spelling of removable 2020-01-29 00:28:50 +00:00
cddl zfs: convert z_teardown_inactive_lock to sleepable read-mostly lock 2020-01-31 08:38:38 +00:00
compat Add TCP_CORK support to linux(4). This fixes one of the things Nginx 2020-01-28 13:57:24 +00:00
conf make all is needed to generate .depend.* 2020-01-31 21:08:33 +00:00
contrib MFV: r356607 2020-01-10 22:49:14 +00:00
crypto Fix the armv8 crypto driver after r354170. 2019-10-30 10:41:10 +00:00
ddb Add KERNEL_PANICKED macro for use in place of direct panicstr tests 2020-01-12 06:07:54 +00:00
dev Widen EPOCH(9) usage in mlx4en(4). 2020-01-31 10:41:47 +00:00
dts Add an overlay for RK3328 USB3 node. 2020-01-29 12:10:42 +00:00
fs Fix a bug in r357199. 2020-01-30 19:34:37 +00:00
gdb Add KERNEL_PANICKED macro for use in place of direct panicstr tests 2020-01-12 06:07:54 +00:00
geom Fix aggregating geoms for BIO_SPEEDUP. 2020-01-27 13:15:16 +00:00
gnu Import DTS files for riscv from Linux 5.4 2019-12-03 09:12:53 +00:00
i386 Reimplement stack capture of running threads on i386 and amd64. 2020-01-31 15:43:33 +00:00
isa sc(4) md bits: stop setting sc->kbd entirely 2019-12-30 02:07:55 +00:00
kern Add two missing fences with comments describing them. These were found by 2020-01-31 22:21:15 +00:00
kgssapi
libkern random(9): Deprecate random(9), remove meaningless srandom(9) 2019-12-26 19:41:09 +00:00
mips Reimplement stack capture of running threads on i386 and amd64. 2020-01-31 15:43:33 +00:00
modules Merge r357348 from the clang 10.0.0 import branch: 2020-01-31 19:36:14 +00:00
net vlan: Fix panic when vnet jail with a vlan interface is destroyed 2020-01-31 22:54:44 +00:00
net80211 net80211: Move rate printing in amrr_node_stats() to a separate method 2020-01-17 22:04:11 +00:00
netgraph ng_nat: Pass IPv6 packets through. 2020-01-23 16:45:48 +00:00
netinet Fix missing NET_EPOCH_ENTER() when compiled with TCP_OFFLOAD. 2020-01-29 22:48:18 +00:00
netinet6 Fix NOINET builds. 2020-01-31 02:23:48 +00:00
netipsec Fix m_pullup() problem after removing PULLDOWN_TESTs and KAME EXT_*macros. 2019-12-01 00:22:04 +00:00
netpfil pf: Apply kif flags to new group members 2020-01-23 22:13:41 +00:00
netsmb
nfs vfs: drop the mostly unused flags argument from VOP_UNLOCK 2020-01-03 22:29:58 +00:00
nfsclient
nfsserver
nlm vfs: drop the mostly unused flags argument from VOP_UNLOCK 2020-01-03 22:29:58 +00:00
ofed Make sure the VNET is properly set when reaping mbufs in ipoib. 2020-01-11 12:02:16 +00:00
opencrypto Add stricter checking on mac key lengths. 2020-01-09 18:29:59 +00:00
powerpc Reimplement stack capture of running threads on i386 and amd64. 2020-01-31 15:43:33 +00:00
riscv Add stricter checks on user changes to SSTATUS. 2020-01-31 19:00:48 +00:00
rpc Change r355157 to make svc_rpc_gss_lifetime_max a static. 2019-11-28 02:18:51 +00:00
security vfs: eliminate v_tag from struct vnode 2020-01-07 04:29:34 +00:00
sparc64 Reimplement stack capture of running threads on i386 and amd64. 2020-01-31 15:43:33 +00:00
sys Add two missing fences with comments describing them. These were found by 2020-01-31 22:21:15 +00:00
teken
tests
tools vfs: stop null checking routines in vop wrappers 2020-01-26 00:41:38 +00:00
ufs ufs: add the missing vn_need_pageq_flush call to ufs_need_inactive 2020-01-30 05:37:35 +00:00
vm Fix LINT build with MEMGUARD. 2020-01-31 02:03:22 +00:00
x86 hwpstate(4): Ignore CurPstateLimit by default 2020-01-31 17:40:41 +00:00
xdr
xen
Makefile