git: 32ce6f3365f7 - stable/13 - routing: Use NULL for VNET_SYS[UN]INIT's last arg, which is a pointer type
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 15 Dec 2024 15:44:31 UTC
The branch stable/13 has been updated by zlei:
URL: https://cgit.FreeBSD.org/src/commit/?id=32ce6f3365f7dbb787aa2c6cf1c9febd8489a4b1
commit 32ce6f3365f7dbb787aa2c6cf1c9febd8489a4b1
Author: Zhenlei Huang <zlei@FreeBSD.org>
AuthorDate: 2024-12-09 17:14:08 +0000
Commit: Zhenlei Huang <zlei@FreeBSD.org>
CommitDate: 2024-12-15 15:43:35 +0000
routing: Use NULL for VNET_SYS[UN]INIT's last arg, which is a pointer type
MFC after: 3 days
(cherry picked from commit 12b2d68bed37e379929cd9b5e0afe34c387be360)
(cherry picked from commit bca3a925b0bcb57bc48480fbc92fef257aeb1a72)
---
sys/net/route/route_tables.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sys/net/route/route_tables.c b/sys/net/route/route_tables.c
index 47fe5cfae1dd..5bcf83e91494 100644
--- a/sys/net/route/route_tables.c
+++ b/sys/net/route/route_tables.c
@@ -321,7 +321,7 @@ vnet_rtables_init(const void *unused __unused)
RTABLES_UNLOCK();
}
VNET_SYSINIT(vnet_rtables_init, SI_SUB_PROTO_DOMAIN, SI_ORDER_FOURTH,
- vnet_rtables_init, 0);
+ vnet_rtables_init, NULL);
#ifdef VIMAGE
static void
@@ -360,7 +360,7 @@ rtables_destroy(const void *unused __unused)
#endif
}
VNET_SYSUNINIT(rtables_destroy, SI_SUB_PROTO_DOMAIN, SI_ORDER_FIRST,
- rtables_destroy, 0);
+ rtables_destroy, NULL);
#endif
static inline struct rib_head *