[Bug 274310] pf leaks memory

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

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

URL:
https://cgit.FreeBSD.org/src/commit/?id=05c55eed44e53a3a5473451d105f81ce36ef375a

commit 05c55eed44e53a3a5473451d105f81ce36ef375a
Author:     Igor Ostapenko <pm@igoro.pro>
AuthorDate: 2023-11-29 12:35:41 +0000
Commit:     Kristof Provost <kp@FreeBSD.org>
CommitDate: 2023-12-06 13:23:33 +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 | 44 ++++++++++++++++++++++++++++++++++++++------
 1 file changed, 38 insertions(+), 6 deletions(-)

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