[Bug 274310] pf leaks memory

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 06 Dec 2023 14:41:59 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274310

--- Comment #3 from commit-hook@FreeBSD.org ---
A commit in branch stable/14 references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=285b505a4ee0ab2fdc8f970e7d23a6d3091dc686

commit 285b505a4ee0ab2fdc8f970e7d23a6d3091dc686
Author:     Igor Ostapenko <pm@igoro.pro>
AuthorDate: 2023-11-29 12:35:41 +0000
Commit:     Kristof Provost <kp@FreeBSD.org>
CommitDate: 2023-12-06 09:08:25 +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

    (cherry picked from commit 0626d30e41cba64b41667314c3a4f7611f0eb685)

 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.