From nobody Mon Dec 09 17:14:48 2024 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Y6T4m606pz5gXvp; Mon, 09 Dec 2024 17:14:48 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Y6T4m5QpPz4gT8; Mon, 9 Dec 2024 17:14:48 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1733764488; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ITc9dIBK9LdStibNxyWmPDmG/XooJAcbi2npeXbztPQ=; b=Zq/zmQGOYg1oazpXueGmZQVm992OVvfyCnzVP021Pm7e217rWSvbkb5kxehO/9B+vc5/IJ YRSpGmwVD8+wsyHLzBqIYMpV65xjdHM34fYBst8lsBzQ04AnbrN/2xltrWUkL3w5MEFgmt xEl9WRTtdnPPU/hZhiyISerVu4eYDFlnHXyCJkVRe/ToP0mNBNj1zoShCQJkq/Ob+OChdf TUfd8jo3cyiNjzB0FhUR5tioJ/wVeYD+tDdpfGtJ6zGJdgLePyuPPD+t8NCQxXoWVd1LUb eYfn1SG1BbW7T8Cw0j/bCwryay95uGyP4OY2APAOFs97JeQam4FPXGLK0ns5tA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1733764488; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ITc9dIBK9LdStibNxyWmPDmG/XooJAcbi2npeXbztPQ=; b=HRPXRJdFuxPtZQ+BP81g2X2zU3oLxAhIeXaazuLClziz+YxRiGUPas7SsuIVSbAoviKur7 1iT8hz1BkKumnXOvO3BffaLfBE4QspcUFQWpei5QDSEoZqdLU3weiMdCOhZiOClMk5WZE6 RxIMMhjgrGXz0smgKz4dTkXz4elxb/+6xFGD+SNuVGO2nDFCJoq0h7DcV02Bf6z+ZhNtOp roAB9HMVAk4qdhmKMcWciGNxrJNuhmSQv5wdjtzhKSlA1GTlK6/4UE0GOaeMxOjltoQNF6 RKjg3+yaqi9alcfwUmutykcGzF6CqEwfr8D14/UMaoqlyetDI66JeOab1x4vbA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1733764488; a=rsa-sha256; cv=none; b=d6zoDebj/Q7v9vtV8wa3AyTIx0pJ6Tilf4Ld+pvekLyIBN/iZe8cBAAdF46bNQ2Ch5eiaY icnmziin4K3iv7XDasAfycuA6Ej6FVp02rxigfN77b3xHEcgDvcU1ritD5H2BSmr0J8+wI ji/xhhhnPZm3uzcfmgqXMVIapTLo0a7VV2hYUijCgbSg7rSd3qrIQJdYzByMMpWg8ferlR dJEQ1rCUAbz/t/q03X3yK9O821pYXAw5GwIv3KGpGofYajBSa+6bavwJVsHb4VKYb4g72B fC+wlTzrHLJBoThqyUIJrSV5OGBlqQdvX8CrZOzZHx1Ccp5r7w1I9gvoUunXNw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Y6T4m52Cszmqk; Mon, 9 Dec 2024 17:14:48 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4B9HEmTX030916; Mon, 9 Dec 2024 17:14:48 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4B9HEmNI030913; Mon, 9 Dec 2024 17:14:48 GMT (envelope-from git) Date: Mon, 9 Dec 2024 17:14:48 GMT Message-Id: <202412091714.4B9HEmNI030913@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Zhenlei Huang Subject: git: 12b2d68bed37 - main - routing: Use NULL for VNET_SYS[UN]INIT's last arg, which is a pointer type List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: zlei X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 12b2d68bed37e379929cd9b5e0afe34c387be360 Auto-Submitted: auto-generated The branch main has been updated by zlei: URL: https://cgit.FreeBSD.org/src/commit/?id=12b2d68bed37e379929cd9b5e0afe34c387be360 commit 12b2d68bed37e379929cd9b5e0afe34c387be360 Author: Zhenlei Huang AuthorDate: 2024-12-09 17:14:08 +0000 Commit: Zhenlei Huang CommitDate: 2024-12-09 17:14:08 +0000 routing: Use NULL for VNET_SYS[UN]INIT's last arg, which is a pointer type MFC after: 3 days --- 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 da829503b846..176ca43fa1c5 100644 --- a/sys/net/route/route_tables.c +++ b/sys/net/route/route_tables.c @@ -314,7 +314,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 @@ -353,7 +353,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 *