[Bug 274310] pf leaks memory

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 29 Nov 2023 18:04:57 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274310

--- Comment #1 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=0626d30e41cba64b41667314c3a4f7611f0eb685

commit 0626d30e41cba64b41667314c3a4f7611f0eb685
Author:     Igor Ostapenko <pm@igoro.pro>
AuthorDate: 2023-11-29 12:35:41 +0000
Commit:     Kristof Provost <kp@FreeBSD.org>
CommitDate: 2023-11-29 16:59:28 +0000

    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

 sys/netpfil/pf/pf_ioctl.c | 67 ++++++++++++++++++++++++++++++++++++++++++-----
 1 file changed, 60 insertions(+), 7 deletions(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.