[Bug 291548] Multiple failing 'sys/netpfil/common' testcases in CI
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 291548] Multiple failing 'sys/netpfil/common' testcases in CI"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 15 Dec 2025 21:03:43 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291548
--- Comment #5 from Cy Schubert <cy@FreeBSD.org> ---
(In reply to Mark Johnston from comment #4)
This will fix that.
From e43e88397a447f2a04ff1c1c39452324475be6ea Mon Sep 17 00:00:00 2001
From: Cy Schubert <cy@FreeBSD.org>
Date: Mon, 15 Dec 2025 08:21:56 -0800
Subject: [PATCH] ipfilter: Add missing kenv fetch
When a module the environment must be explicitly fetched.
Fixes: d9788eabffa4
---
sys/netpfil/ipfilter/netinet/ip_fil_freebsd.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/sys/netpfil/ipfilter/netinet/ip_fil_freebsd.c
b/sys/netpfil/ipfilter/netinet/ip_fil_freebsd.c
index 43b590cc0204..207d1895dc3e 100644
--- a/sys/netpfil/ipfilter/netinet/ip_fil_freebsd.c
+++ b/sys/netpfil/ipfilter/netinet/ip_fil_freebsd.c
@@ -1439,4 +1439,6 @@ ipf_fbsd_kenv_get(ipf_main_softc_t *softc)
{
TUNABLE_INT_FETCH("net.inet.ipf.large_nat",
&softc->ipf_large_nat);
+ TUNABLE_INT_FETCH("net.inet.ipf.jail_allowed",
+ &softc->ipf_jail_allowed);
}
--
2.52.0
--
You are receiving this mail because:
You are on the CC list for the bug.