git: 639afa4b4419 - stable/14 - ipfilter: fix broken build
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 05 Jan 2026 20:01:30 UTC
The branch stable/14 has been updated by cy:
URL: https://cgit.FreeBSD.org/src/commit/?id=639afa4b441909f6d8fab53080730f17c6c126cc
commit 639afa4b441909f6d8fab53080730f17c6c126cc
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:01: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 786efca38232..b2d84ce1fefc 100644
--- a/sys/netpfil/ipfilter/netinet/fil.c
+++ b/sys/netpfil/ipfilter/netinet/fil.c
@@ -4417,9 +4417,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 4c7ede89d30e..2ca0fee2606d 100644
--- a/sys/netpfil/ipfilter/netinet/ip_nat.c
+++ b/sys/netpfil/ipfilter/netinet/ip_nat.c
@@ -982,9 +982,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)