freebsd-dev/tests/sys/net
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
..
routing tests/sys/net/routing: remove bandaid against old epair(4) panic 2022-01-26 21:58:43 -08:00
dhclient_pcp.conf net tests: basic test case for bpf(4)'s ability to set vlan pcp 2021-07-26 23:13:31 +02:00
if_bridge_test.sh tests: sys.net.if_bridge_test.span is failing in CI 2021-12-15 18:32:37 -07:00
if_clone_test.sh if: avoid interface destroy race 2022-05-06 13:55:08 +02:00
if_epair.c tests/sys/net/epair: don't leak the interface after the test 2022-01-26 21:08:50 -08:00
if_gif.sh net tests: basic if_gif(4) test case 2021-11-08 12:00:00 +01:00
if_lagg_test.sh Skip sys.net.if_lagg_test.status_stress in CI 2021-10-12 05:40:24 +08:00
if_stf.sh net tests: fix if_stf:6to4 2021-11-20 19:29:02 +01:00
if_tun_test.sh
if_vlan.sh vlan tests: fix bpf_pcp test 2022-02-15 07:53:30 +01:00
Makefile net tests: basic if_stf test 2021-11-09 09:39:54 +01:00
pcp.py net tests: basic test case for bpf(4)'s ability to set vlan pcp 2021-07-26 23:13:31 +02:00
randsleep.c Properly fix GCC build in r357867 2020-02-14 09:25:29 +00:00
stp.py tests: Only log critical errors from scapy 2021-05-12 20:54:30 +02:00