Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Dec 2025 21:03:43 +0000
From:      bugzilla-noreply@freebsd.org
To:        testing@FreeBSD.org
Subject:   [Bug 291548] Multiple failing 'sys/netpfil/common' testcases in CI
Message-ID:  <bug-291548-32464-p8TA0UDEYB@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-291548-32464@https.bugs.freebsd.org/bugzilla/>
References:  <bug-291548-32464@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

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.

help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-291548-32464-p8TA0UDEYB>