git: 8ed5e67e2165 - main - routing: Include <sys/eventhandler.h> in nhop_ctl.h
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 13 Jul 2026 22:51:33 UTC
The branch main has been updated by pouria:
URL: https://cgit.FreeBSD.org/src/commit/?id=8ed5e67e2165fb38d7a0b27e67aa7ca18c68ffac
commit 8ed5e67e2165fb38d7a0b27e67aa7ca18c68ffac
Author: Pouria Mousavizadeh Tehrani <pouria@FreeBSD.org>
AuthorDate: 2026-07-13 22:44:43 +0000
Commit: Pouria Mousavizadeh Tehrani <pouria@FreeBSD.org>
CommitDate: 2026-07-13 22:50:24 +0000
routing: Include <sys/eventhandler.h> in nhop_ctl.h
Fix missing Include which is currently leaked through vnet code.
Reported by: bz
Fixes: d05d1f256082 ("routing: Subscribe nhops to ifnet link events")
Differential Revision: https://reviews.freebsd.org/D57375
---
sys/net/route/nhop_ctl.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/sys/net/route/nhop_ctl.c b/sys/net/route/nhop_ctl.c
index d978e624e65d..628a1da41862 100644
--- a/sys/net/route/nhop_ctl.c
+++ b/sys/net/route/nhop_ctl.c
@@ -30,6 +30,7 @@
#include "opt_inet6.h"
#include <sys/param.h>
+#include <sys/eventhandler.h>
#include <sys/systm.h>
#include <sys/lock.h>
#include <sys/rwlock.h>