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
..
2021-11-08 12:00:00 +01:00
2021-11-20 19:29:02 +01:00
2022-02-15 07:53:30 +01:00
2021-11-09 09:39:54 +01:00
2020-02-14 09:25:29 +00:00