The branch main has been updated by kp: URL: https://cgit.FreeBSD.org/src/commit/?id=f5219cabcf47a1100b6214485c6655d717e89431
commit f5219cabcf47a1100b6214485c6655d717e89431 Author: Kristof Provost <k...@freebsd.org> AuthorDate: 2025-08-08 15:15:19 +0000 Commit: Kristof Provost <k...@freebsd.org> CommitDate: 2025-08-11 19:27:09 +0000 pf: free anchor and ethernet anchor zones on vnet shutdown Fixes: 029532e77b92 pf: also allocate ethernet anchors from a UMA zone Fixes: 31131a9d6a20 pf: allocate pf_kanchor from a pool Sponsored by: Rubicon Communications, LLC ("Netgate") --- sys/netpfil/pf/pf.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/netpfil/pf/pf.c b/sys/netpfil/pf/pf.c index 3fa7789efcfe..9d83e7b82e6f 100644 --- a/sys/netpfil/pf/pf.c +++ b/sys/netpfil/pf/pf.c @@ -1347,6 +1347,8 @@ pf_cleanup(void) uma_zdestroy(V_pf_state_z); uma_zdestroy(V_pf_state_key_z); uma_zdestroy(V_pf_udp_mapping_z); + uma_zdestroy(V_pf_anchor_z); + uma_zdestroy(V_pf_eth_anchor_z); } static int