git: 1a584160e3f4 - stable/13 - 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 15:44:32 UTC
The branch stable/13 has been updated by zlei:
URL: https://cgit.FreeBSD.org/src/commit/?id=1a584160e3f4e2c7db60b8a1ed7a4d0be2017216
commit 1a584160e3f4e2c7db60b8a1ed7a4d0be2017216
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
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)
(cherry picked from commit 8293bd6285401c3ef4310e4fc8bfb0e3cf132729)
---
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 3d977cba4862..d78a60070615 100644
--- a/sys/net/rtsock.c
+++ b/sys/net/rtsock.c
@@ -251,7 +251,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
@@ -261,7 +261,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