git: 8293bd628540 - stable/14 - rtsock: 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 02:21:33 UTC
The branch stable/14 has been updated by zlei:
URL: https://cgit.FreeBSD.org/src/commit/?id=8293bd6285401c3ef4310e4fc8bfb0e3cf132729
commit 8293bd6285401c3ef4310e4fc8bfb0e3cf132729
Author: Zhenlei Huang <zlei@FreeBSD.org>
AuthorDate: 2024-12-09 17:14:08 +0000
Commit: Zhenlei Huang <zlei@FreeBSD.org>
CommitDate: 2024-12-15 02:20:53 +0000
rtsock: Use NULL for VNET_SYS[UN]INIT's last arg, which is a pointer type
MFC after: 3 days
(cherry picked from commit adc573c8e2179310777cef4d6bda19db2ae63dd5)
---
sys/net/rtsock.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sys/net/rtsock.c b/sys/net/rtsock.c
index 3905584e431d..4678edeb06d5 100644
--- a/sys/net/rtsock.c
+++ b/sys/net/rtsock.c
@@ -263,7 +263,7 @@ vnet_rts_init(void)
#endif
}
VNET_SYSINIT(vnet_rtsock, SI_SUB_PROTO_DOMAIN, SI_ORDER_THIRD,
- vnet_rts_init, 0);
+ vnet_rts_init, NULL);
#ifdef VIMAGE
static void
@@ -273,7 +273,7 @@ vnet_rts_uninit(void)
netisr_unregister_vnet(&rtsock_nh);
}
VNET_SYSUNINIT(vnet_rts_uninit, SI_SUB_PROTO_DOMAIN, SI_ORDER_THIRD,
- vnet_rts_uninit, 0);
+ vnet_rts_uninit, NULL);
#endif
static void