[Bug 289299] sys/netpfil/pf/rules_counter:keepcounters testcase fails on amd64 in CI
Date: Wed, 24 Sep 2025 13:41:33 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289299
--- Comment #2 from commit-hook@FreeBSD.org ---
A commit in branch stable/15 references this bug:
URL:
https://cgit.FreeBSD.org/src/commit/?id=e70a2bcdc4f7a3492cfe7064c2fe7398a628da52
commit e70a2bcdc4f7a3492cfe7064c2fe7398a628da52
Author: Kristof Provost <kp@FreeBSD.org>
AuthorDate: 2025-09-17 08:12:11 +0000
Commit: Kristof Provost <kp@FreeBSD.org>
CommitDate: 2025-09-24 13:32:11 +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")
(cherry picked from commit e63534edbcd050215bc109cd89a31ba30c5ea850)
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.