Date: Mon, 9 Dec 2024 17:14:50 GMT From: Zhenlei Huang <zlei@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: ec6e7677a0db - main - inpcb: Use NULL for VNET_SYSINIT's last arg, which is a pointer type Message-ID: <202412091714.4B9HEotj031056@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by zlei: URL: https://cgit.FreeBSD.org/src/commit/?id=ec6e7677a0dbfbcdb4b740b28a1105256f1fc93e commit ec6e7677a0dbfbcdb4b740b28a1105256f1fc93e Author: Zhenlei Huang <zlei@FreeBSD.org> AuthorDate: 2024-12-09 17:14:08 +0000 Commit: Zhenlei Huang <zlei@FreeBSD.org> CommitDate: 2024-12-09 17:14:08 +0000 inpcb: Use NULL for VNET_SYSINIT's last arg, which is a pointer type MFC after: 3 days --- 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 1309d19121cd..87489e8f457c 100644 --- a/sys/netinet/in_pcb.c +++ b/sys/netinet/in_pcb.c @@ -232,7 +232,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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202412091714.4B9HEotj031056>