git: 3c3a622a7543 - stable/14 - inpcb: Use NULL for VNET_SYSINIT'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:34 UTC
The branch stable/14 has been updated by zlei:
URL: https://cgit.FreeBSD.org/src/commit/?id=3c3a622a75436bf3448bfa65346f9998ae4d21a5
commit 3c3a622a75436bf3448bfa65346f9998ae4d21a5
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
inpcb: Use NULL for VNET_SYSINIT's last arg, which is a pointer type
MFC after: 3 days
(cherry picked from commit ec6e7677a0dbfbcdb4b740b28a1105256f1fc93e)
---
sys/netinet/in_pcb.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/netinet/in_pcb.c b/sys/netinet/in_pcb.c
index 36454b9a18bf..ccd76d1c449e 100644
--- a/sys/netinet/in_pcb.c
+++ b/sys/netinet/in_pcb.c
@@ -234,7 +234,7 @@ in_pcbhashseed_init(void)
V_in_pcbhashseed = arc4random();
}
VNET_SYSINIT(in_pcbhashseed_init, SI_SUB_PROTO_DOMAIN, SI_ORDER_FIRST,
- in_pcbhashseed_init, 0);
+ in_pcbhashseed_init, NULL);
#ifdef INET
VNET_DEFINE_STATIC(int, connect_inaddr_wild) = 1;