HomeFreeBSD

pf: clear ethernet rules prior to shutdown

Description

pf: clear ethernet rules prior to shutdown

Ethernet rule cleanup is postponed to an epoch callback. Ensure it's
been called before we remove the entire vnet, or we risk the rules still
getting hit after we've freed the uma zone, i.e. a use-after-free.

Sponsored by: Rubicon Communications, LLC ("Netgate")

Details

Provenance
kpAuthored on Aug 19 2022, 10:01 AM
Parents
rG319a4bddb0b9: linuxkpi: i2c: Fix 7bit/8bit addressing
Branches
Unknown
Tags
Unknown