Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 05 Jan 2026 20:00:38 +0000
From:      Cy Schubert <cy@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Cc:        Warner Losh <imp@FreeBSD.org>
Subject:   git: 0ecfadec215f - stable/15 - ipfilter: fix broken build
Message-ID:  <695c1866.3ff1b.21ef36e2@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch stable/15 has been updated by cy:

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

commit 0ecfadec215f5c79a5497d6af9059e18735e546f
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2025-11-27 00:04:29 +0000
Commit:     Cy Schubert <cy@FreeBSD.org>
CommitDate: 2026-01-05 20:00:01 +0000

    ipfilter: fix broken build
    
    Every commit earns me a dozen emails that LINT is broken. This should
    stop that.
    
    Fixes: eda1756d0454f ipfilter: Verify frentry on entry into kernel
    Sponsored by: Netflix
    (cherry picked from commit ddec4209b10d65ef19e1d1b884e1b876eab58c7d)
---
 sys/netpfil/ipfilter/netinet/fil.c    | 4 +---
 sys/netpfil/ipfilter/netinet/ip_nat.c | 3 ---
 2 files changed, 1 insertion(+), 6 deletions(-)

diff --git a/sys/netpfil/ipfilter/netinet/fil.c b/sys/netpfil/ipfilter/netinet/fil.c
index 54b8aea7f1c8..242affeff000 100644
--- a/sys/netpfil/ipfilter/netinet/fil.c
+++ b/sys/netpfil/ipfilter/netinet/fil.c
@@ -4413,9 +4413,7 @@ frrequest(ipf_main_softc_t *softc, int unit, ioctlcmd_t req, caddr_t data,
 	void *ptr, *uptr;
 	u_int *p, *pp;
 	frgroup_t *fg;
-	char *group, *name;
-	size_t v_fr_size, v_element_size;
-	int v_rem_namelen, v_fr_toend;
+	char *group;
 
 	ptr = NULL;
 	fg = NULL;
diff --git a/sys/netpfil/ipfilter/netinet/ip_nat.c b/sys/netpfil/ipfilter/netinet/ip_nat.c
index ec5a431dc47f..bf091e3b0e12 100644
--- a/sys/netpfil/ipfilter/netinet/ip_nat.c
+++ b/sys/netpfil/ipfilter/netinet/ip_nat.c
@@ -978,9 +978,6 @@ ipf_nat_ioctl(ipf_main_softc_t *softc, caddr_t data, ioctlcmd_t cmd,
 	int interr_tbl[3] = { 60077, 60081, 60078 };
 	ipnat_t *nat, *nt, *n;
 	ipnat_t natd;
-	char *name;
-	size_t v_in_size, v_element_size;
-	int v_rem_namelen, v_in_toend;
 	SPL_INT(s);
 
 #if !SOLARIS && defined(_KERNEL)


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?695c1866.3ff1b.21ef36e2>