opnsense-src/tests/sys/net
Kristof Provost 4dfd3ffc44 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

(cherry picked from commit 868bf82153)
2022-05-27 18:25:10 +02:00
..
routing Improve debugging output on routing tests failure. 2021-04-26 08:49:14 +00:00
dhclient_pcp.conf net tests: basic test case for bpf(4)'s ability to set vlan pcp 2021-08-02 16:50:32 +02:00
if_bridge_test.sh bridge tests: test linking bridges with a gif tunnel 2021-08-02 16:50:32 +02:00
if_clone_test.sh if: avoid interface destroy race 2022-05-27 18:25:10 +02:00
if_epair.c Skip if_epair regression test if module doesn't exist 2020-03-03 17:35:15 +00:00
if_gif.sh net tests: basic if_gif(4) test case 2021-11-29 15:44:40 +01:00
if_lagg_test.sh Skip sys.net.if_lagg_test.lacp_linkstate_destroy_stress in CI because of panic 2020-06-11 18:59:57 +00:00
if_stf.sh net tests: fix if_stf:6to4 2021-12-11 10:39:15 +01:00
if_tun_test.sh
if_vlan.sh net tests: basic test case for bpf(4)'s ability to set vlan pcp 2021-08-02 16:50:32 +02:00
Makefile net tests: basic if_stf test 2021-12-01 16:53:19 +01:00
pcp.py net tests: basic test case for bpf(4)'s ability to set vlan pcp 2021-08-02 16:50:32 +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-18 12:00:38 +02:00