Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Jan 2026 05:52:37 +0000
From:      Gleb Smirnoff <glebius@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 76af334737b1 - main - ipfw: fix !VIMAGE build
Message-ID:  <696c7525.37c90.43bb52f9@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by glebius:

URL: https://cgit.FreeBSD.org/src/commit/?id=76af334737b1f388163dab6d63aab90de7a46c40

commit 76af334737b1f388163dab6d63aab90de7a46c40
Author:     Gleb Smirnoff <glebius@FreeBSD.org>
AuthorDate: 2026-01-18 05:51:38 +0000
Commit:     Gleb Smirnoff <glebius@FreeBSD.org>
CommitDate: 2026-01-18 05:51:38 +0000

    ipfw: fix !VIMAGE build
    
    NB: Rest of ipfw(4) sources get sx.h via vnet.h, which isn't perfect.
---
 sys/netpfil/ipfw/ip_fw_bpf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/netpfil/ipfw/ip_fw_bpf.c b/sys/netpfil/ipfw/ip_fw_bpf.c
index af52cbc62ed6..9b92b136beb2 100644
--- a/sys/netpfil/ipfw/ip_fw_bpf.c
+++ b/sys/netpfil/ipfw/ip_fw_bpf.c
@@ -30,7 +30,7 @@
 #include <sys/mbuf.h>
 #include <sys/kernel.h>
 #include <sys/lock.h>
-#include <sys/rwlock.h>
+#include <sys/sx.h>
 #include <sys/socket.h>
 #include <sys/tree.h>
 #include <net/ethernet.h>


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?696c7525.37c90.43bb52f9>