[Bug 290177] PF - panicking after upgrade to 15.0-STABLE
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 15 Oct 2025 16:42:01 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290177
--- Comment #7 from Kristof Provost <kp@freebsd.org> ---
Okay, I believe I've reproduced it, even if my panic wasn't quite the same as
yours.
Try this:
diff --git a/sys/netpfil/pf/pf.c b/sys/netpfil/pf/pf.c
index d6fc24a23fe9..53d7dc031efa 100644
--- a/sys/netpfil/pf/pf.c
+++ b/sys/netpfil/pf/pf.c
@@ -5968,6 +5968,7 @@ pf_test_rule(struct pf_krule **rm, struct pf_kstate **sm,
if (ctx.nr && ctx.nr->natpass) {
r = ctx.nr;
ruleset = *ctx.rsm;
+ *ctx.rm = &V_pf_default_rule;
} else {
ruleset = &pf_main_ruleset;
rv = pf_match_rule(&ctx, ruleset, match_rules);
--
You are receiving this mail because:
You are the assignee for the bug.