HomeFreeBSD

Widen ifnet_detach_sxlock coverage

Description

Widen ifnet_detach_sxlock coverage

Widen the ifnet_detach_sxlock to cover the entire vnet sysuninit code.
This ensures that we can't end up having the vnet_sysuninit free the UDP
pcb while the detach code is running and trying to purge the UDP pcb.

MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D28530

(cherry picked from commit 6d2a10d96fb5d4ee42fd67b0b07a6d098db5d55a)

Details

Provenance
kpAuthored on Feb 8 2021, 9:04 AM
Differential Revision
D28530: Widen ifnet_detach_sxlock coverage
Parents
rGf9a66bb91ae1: pf: Slightly relax pf_rule_addr validation
Branches
Unknown
Tags
Unknown