git: b8c6f5811b2a - main - pflog: run VNET_SYSUNINIT in SI_SUB_PROTO_FIREWALL
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 30 Jun 2026 13:57:50 UTC
The branch main has been updated by kp:
URL: https://cgit.FreeBSD.org/src/commit/?id=b8c6f5811b2a948a265a4bd90d33a18efb2a6f1e
commit b8c6f5811b2a948a265a4bd90d33a18efb2a6f1e
Author: Kristof Provost <kp@FreeBSD.org>
AuthorDate: 2026-06-29 14:05:52 +0000
Commit: Kristof Provost <kp@FreeBSD.org>
CommitDate: 2026-06-30 13:57:41 +0000
pflog: run VNET_SYSUNINIT in SI_SUB_PROTO_FIREWALL
Suggested by: pouria, glebius
Sponsored by: Rubicon Communications, LLC ("Netgate")
---
sys/netpfil/pf/if_pflog.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/netpfil/pf/if_pflog.c b/sys/netpfil/pf/if_pflog.c
index a69be46587c0..7a55ff7461f0 100644
--- a/sys/netpfil/pf/if_pflog.c
+++ b/sys/netpfil/pf/if_pflog.c
@@ -285,7 +285,7 @@ vnet_pflog_uninit(const void *unused __unused)
* Detach after pf is gone; otherwise we might touch pflog memory
* from within pf after freeing pflog.
*/
-VNET_SYSUNINIT(vnet_pflog_uninit, SI_SUB_INIT_IF, SI_ORDER_SECOND,
+VNET_SYSUNINIT(vnet_pflog_uninit, SI_SUB_PROTO_FIREWALL, SI_ORDER_SECOND,
vnet_pflog_uninit, NULL);
static int