HomeFreeBSD

pf: fix mem leaks upon vnet destroy

Description

pf: fix mem leaks upon vnet destroy

Add missing cleanup actions:

  • remove user defined anchor rulesets
  • remove user defined ether anchor rulesets
  • remove tables linked to user defined anchors
  • deal with wildcard anchor peculiarities to get them removed correctly

PR: 274310
Reviewed by: kp
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D42747

Details

Provenance
igor.ostapenko_pm.meAuthored on Nov 29 2023, 12:35 PM
kpCommitted on Nov 29 2023, 4:59 PM
Reviewer
kp
Differential Revision
D42747: pf: fix mem leaks upon vnet destroy
Parents
rG5c0dac0b7a01: ossl: Keep mutable AES-GCM state on the stack
Branches
Unknown
Tags
Unknown