freebsd-dev/tests/sys
Kristof Provost 868bf82153 if: avoid interface destroy race
When we destroy an interface while the jail containing it is being
destroyed we risk seeing a race between if_vmove() and the destruction
code, which results in us trying to move a destroyed interface.

Protect against this by using the ifnet_detach_sxlock to also covert
if_vmove() (and not just detach).

PR:		262829
MFC after:	3 weeks
Differential Revision:	https://reviews.freebsd.org/D34704
2022-05-06 13:55:08 +02:00
..
acl tests/sys/acl: Add ATF C test for newly added acl_* functions. 2021-08-27 11:52:21 +03:00
aio Temporarily skip flaky tset cases under sys.aio.aio_test in CI 2021-09-29 03:32:47 +08:00
audit Extend the length of dirpath to fix failure in kyua test 2022-04-12 09:23:56 -07:00
auditpipe Do a sweep and remove most WARNS=6 settings 2020-10-01 01:10:51 +00:00
capsicum Fix MK_TESTS build with MK_ASAN/MK_UBSAN 2021-08-02 14:33:24 +01:00
cddl zfs: Update test format strings to match variable typtes 2022-03-01 12:21:40 -05:00
common Reenable vnet tests in CI 2022-05-05 14:38:08 -04:00
devrandom Do a sweep and remove most WARNS=6 settings 2020-10-01 01:10:51 +00:00
fifo
file path_test: Verify that operations on unlinked files work 2022-04-18 17:55:24 -04:00
fs fusefs: annotate more file descriptor leaks in the tests 2022-05-05 09:06:04 -06:00
geom Skip sys.geom.class.multipath.failloop.failloop if dtrace fails to run 2022-03-08 18:12:40 +08:00
kern Fix build after 128b9bf9 2022-04-25 14:45:05 +03:00
kqueue fifos: delegate unhandled kqueue filters to underlying filesystem 2021-10-12 02:43:07 -05:00
mac
mqueue Do a sweep and remove most WARNS=6 settings 2020-10-01 01:10:51 +00:00
net if: avoid interface destroy race 2022-05-06 13:55:08 +02:00
netgraph Remove riscv workaround in sys.netgraph.hub.loop test 2021-12-05 11:12:40 -04:00
netinet netinet tests: only log critical errors from scapy 2022-03-17 23:34:12 +01:00
netinet6 ndp tests: fix cleanup 2021-12-13 18:14:59 +01:00
netipsec ping: fix some man pages and tests after r368045 2020-11-26 04:55:02 +00:00
netmap netmap: update unit tests with libnetmap tests 2021-04-02 14:39:30 +00:00
netpfil Reenable vnet tests in CI 2022-05-05 14:38:08 -04:00
opencrypto ossl: Add support for AES-CBC cipher 2021-11-08 10:53:31 +01:00
pjdfstest Do a sweep and remove most WARNS=6 settings 2020-10-01 01:10:51 +00:00
posixshm Have posixshm_test ask the kernel for the page size 2022-04-20 14:44:52 +01:00
ses tests/sys/ses: Use ANSI C definition for has_ses. 2022-02-01 13:25:47 -08:00
sys vm_reserv: use enhanced bitstring for popmaps 2022-01-12 11:03:53 -06:00
vfs tests/sys/vfs/lookup_cap_dotdot: No longer aborts after ATF update 2021-02-04 17:57:27 +00:00
vm mmap map_at_zero test: handle W^X 2022-02-21 09:43:42 -06:00
vmm vmm: Add credential to cdev object 2021-08-18 13:41:33 -04:00
Makefile Add tests for ses(4) 2022-01-19 12:43:51 -07:00
Makefile.depend
Makefile.inc Do a sweep and remove most WARNS=6 settings 2020-10-01 01:10:51 +00:00