freebsd-dev/sys
Kristof Provost 8e45fed3ae if_stf: enable use in vnet jails
The cloner must be per-vnet so that cloned interfaces get destroyed when
the vnet goes away. Otherwise we fail assertions in vnet_if_uninit():

	panic: vnet_if_uninit:475 tailq &V_ifnet=0xfffffe01665fe070 not empty
	cpuid = 19
	time = 1636107064
	KDB: stack backtrace:
	db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe015d0cac60
	vpanic() at vpanic+0x187/frame 0xfffffe015d0cacc0
	panic() at panic+0x43/frame 0xfffffe015d0cad20
	vnet_if_uninit() at vnet_if_uninit+0x7b/frame 0xfffffe015d0cad30
	vnet_destroy() at vnet_destroy+0x170/frame 0xfffffe015d0cad60
	prison_deref() at prison_deref+0x9b0/frame 0xfffffe015d0cadd0
	sys_jail_remove() at sys_jail_remove+0x119/frame 0xfffffe015d0cae00
	amd64_syscall() at amd64_syscall+0x12e/frame 0xfffffe015d0caf30
	fast_syscall_common() at fast_syscall_common+0xf8/frame 0xfffffe015d0caf30
	--- syscall (508, FreeBSD ELF64, sys_jail_remove), rip = 0x8011e920a, rsp = 0x7fffffffe788, rbp = 0x7fffffffe810 ---
	KDB: enter: panic

MFC after:	3 weeks
Sponsored by:	Rubicon Communications, LLC ("Netgate")
Differential Revision:	https://reviews.freebsd.org/D32849
2021-11-09 09:39:53 +01:00
..
amd64 linux: Add ptrace(2) support on arm64 2021-11-07 08:39:24 +00:00
arm sched: split sched_ap_entry() out of sched_throw() 2021-11-05 15:45:51 -05:00
arm64 linux: Add ptrace(2) support on arm64 2021-11-07 08:39:24 +00:00
bsm
cam cam_iosched: Fix a comment 2021-11-08 14:21:08 -07:00
cddl Allow ddb and dtrace use the DMAP region on arm64 2021-10-01 11:27:33 +01:00
compat linux: Add ptrace(2) support on arm64 2021-11-07 08:39:24 +00:00
conf ossl: Add support for AES-CBC cipher 2021-11-08 10:53:31 +01:00
contrib Merge commit 'ce929fe84f9c453263af379f3b255ff8eca01d48' 2021-10-29 19:18:03 +02:00
crypto ossl: Add support for ETA mode 2021-11-08 10:53:36 +01:00
ddb Create sys/reg.h for the common code previously in machine/reg.h 2021-08-30 12:50:53 +01:00
dev hwpmc: initialize arm64 counter/interrupt state 2021-11-08 15:33:25 -04:00
dts ipq4018: add a device tree file for the ASUS rt-ac58u router 2021-10-18 19:18:46 +00:00
fs nfsd: Fix the NFSv4.2 pNFS MDS server for NFSERR_NOSPC via LayoutError 2021-11-08 15:58:00 -08:00
gdb
geom gjournal(8): Fix a typo in a source code comment 2021-11-03 17:14:00 +01:00
gnu
i386 sysbeep: Adjust interface to take a duration as a sbt 2021-11-03 16:03:51 -06:00
isa
kern vfs: Add "ioflag" and "cred" arguments to VOP_ALLOCATE 2021-11-06 13:26:43 -07:00
kgssapi
libkern libkern: remove bcopy 2021-08-24 11:24:07 +00:00
mips sched: split sched_ap_entry() out of sched_throw() 2021-11-05 15:45:51 -05:00
modules ossl: Add support for AES-CBC cipher 2021-11-08 10:53:31 +01:00
net if_stf: enable use in vnet jails 2021-11-09 09:39:53 +01:00
net80211 net80211: add a driver-private pointer to struct ieee80211_node 2021-10-31 19:08:28 +00:00
netgraph ng_pptpgre(4): Fix a typo in a source code comment 2021-11-03 17:15:59 +01:00
netinet tcp: Printf should be removed. 2021-11-08 11:49:34 -05:00
netinet6 blackhole(4): disable for locally originated TCP/UDP packets 2021-11-03 13:02:44 -07:00
netipsec ipsec: add a lock encompassing SPI allocation 2021-11-03 19:51:40 +00:00
netpfil pf: Introduce ridentifier 2021-11-05 09:39:56 +01:00
netsmb
nfs
nfsclient
nfsserver
nlm
ofed socket: De-duplicate SBLOCKWAIT() definitions 2021-09-14 09:01:32 -04:00
opencrypto Remove unused ocf_operation structure from stack. 2021-11-04 18:52:06 +01:00
powerpc sched: split sched_ap_entry() out of sched_throw() 2021-11-05 15:45:51 -05:00
riscv sched: split sched_ap_entry() out of sched_throw() 2021-11-05 15:45:51 -05:00
rpc rpc: Convert an SOLISTENING check to an assertion 2021-09-17 14:19:05 -04:00
security
sys param.h: Bump __FreeBSD_version for commit f0c9847a6c 2021-11-06 13:34:56 -07:00
teken
tests
tools ipq4018: add TCSR definitions from Linux. 2021-10-18 19:18:01 +00:00
ufs ufs: remove write-only variables 2021-10-21 21:40:46 +03:00
vm Fix a common typo in syctl descriptions 2021-11-03 20:49:24 +01:00
x86 Prefer CPUID leaf 1Fh for Intel CPU topology detection. 2021-11-06 00:53:52 -04:00
xdr
xen
Makefile