[Bug 289299] sys/netpfil/pf/rules_counter:keepcounters testcase fails on amd64 in CI

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 17 Sep 2025 14:16:34 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289299

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

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

commit e63534edbcd050215bc109cd89a31ba30c5ea850
Author:     Kristof Provost <kp@FreeBSD.org>
AuthorDate: 2025-09-17 08:12:11 +0000
Commit:     Kristof Provost <kp@FreeBSD.org>
CommitDate: 2025-09-17 14:15:16 +0000

    pf: fix rules_counter:keepcounters test

    The previous pf_krule_global leak fix was a bit too aggressive and cleaned
up
    the inactive tree pointer before we needed it to preserve counters. Only
clean
    up anchors that are entirely unused. Clean up pf_main_ruleset on pf
shutdown.

    PR:             289299
    MFC after:      1 week
    Fixes:          275ff85b25 ("pf: fix struct pf_krule_global leak")
    Sponsored by:   Rubicon Communications, LLC ("Netgate")

 sys/netpfil/pf/pf_ioctl.c   |  5 +++++
 sys/netpfil/pf/pf_ruleset.c | 12 ++++++------
 2 files changed, 11 insertions(+), 6 deletions(-)

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