HomeFreeBSD

Update pf(4) and pflog(4) to survive basic VNET testing, which includes

Description

Update pf(4) and pflog(4) to survive basic VNET testing, which includes
proper virtualisation, teardown, avoiding use-after-free, race conditions,
no longer creating a thread per VNET (which could easily be a couple of
thousand threads), gracefully ignoring global events (e.g., eventhandlers)
on teardown, clearing various globally cached pointers and checking
them before use.

Reviewed by: kp
Approved by: re (gjb)
Sponsored by: The FreeBSD Foundation
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D6924

Details

Provenance
bzAuthored on
Differential Revision
D6924: Make pf more VNET safe
Parents
rS302155: Try to avoid a 2nd conditional by re-writing the loop, pause, and
Branches
Unknown
Tags
Unknown