Date: Tue, 18 Nov 2025 10:37:54 +0000 From: Andrey V. Elsukov <ae@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Cc: Boris Lytochkin <lytboris@gmail.com> Subject: git: 8012c61bef3b - main - ipfw: fix lookup dst-ip opcode Message-ID: <691c4c82.c148.3f4cef69@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by ae: URL: https://cgit.FreeBSD.org/src/commit/?id=8012c61bef3bb19a48d8459b38b65e27d46c186c commit 8012c61bef3bb19a48d8459b38b65e27d46c186c Author: Boris Lytochkin <lytboris@gmail.com> AuthorDate: 2025-11-18 10:31:56 +0000 Commit: Andrey V. Elsukov <ae@FreeBSD.org> CommitDate: 2025-11-18 10:31:56 +0000 ipfw: fix lookup dst-ip opcode Opcode handling should not fall through to the LOOKUP_DSCP type. Reviewed by: melifaro Obtained from: Yandex LLC MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D53775 --- sys/netpfil/ipfw/ip_fw2.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/netpfil/ipfw/ip_fw2.c b/sys/netpfil/ipfw/ip_fw2.c index d15d7760d7f1..c27b6bc274fb 100644 --- a/sys/netpfil/ipfw/ip_fw2.c +++ b/sys/netpfil/ipfw/ip_fw2.c @@ -2120,8 +2120,8 @@ do { \ pkey = &args->f_id.dst_ip6; else pkey = &args->f_id.src_ip6; - } else /* only for L3 */ - break; + } + break; case LOOKUP_DSCP: if (is_ipv4) key = ip->ip_tos >> 2;help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?691c4c82.c148.3f4cef69>
