From nobody Sun Dec 15 02:21:32 2024 X-Original-To: dev-commits-src-all@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 4Y9mzJ3gh3z5h70X; Sun, 15 Dec 2024 02:21:32 +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 4Y9mzJ2SS9z4nxq; Sun, 15 Dec 2024 02:21:32 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1734229292; 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=Mo8TbkcYyyTj48NTLXbha/8sChWxG2E1zdxvXMx31Cw=; b=iH+z02z9Xgqz5YAhFG3LevQ1gwz/mV4FHIMSjXXWnJNIu+bD5WurFRluk/oxAjl5GlJZbB TTNDy19eQZoLhhArlEZX22ALFS48PDxp3FXtlS3/C0uiuwdBSt4wOse7D+x0N9MKpB7Jhx nbPfU5Jl6M99iCllXYwl6xPahaTpt4GF2yy0j1U/Njxx1U4+9QxD2TWULvHq3KasE6gp6h 33ZvY2HNsC814WYXKFX6Iyvwycff1WTlmUDb/4T+SGd4dsVX9oKFzlI9IW2ebM1cnMtgRp I94cntV5iY62Qp5MI93c2ZpYIH/yuJY6Ga8sHadtpIZ8z8qTPNBFYGxa/eTPcQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1734229292; 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=Mo8TbkcYyyTj48NTLXbha/8sChWxG2E1zdxvXMx31Cw=; b=UmWSVGUKsSZIkIDsK2AAMqddKvyoVuaXeZ5bLuSVDgIF0JrqE+20waicYpe21BYKiAY9HL 1/3NKm3MWRpmj3ZS57z8cicwgrx7wVNbVNH/goohyv2sMtzkiF1MMgqQP4hJAdeVf8VZMw h2XWo45Oi3cazjr0KZOUtmE0yQ9eEEaA9354V10V7cfcN7uEld8g2RPudoYSf33zqx5GmG L5p8V9+4uDhh63ud8RVIvE3sroiAKhcBpUOSEaW3kE+9L5RXyG4E3h89z2GODWyQ6EBQW2 Fltx5lN25/sYWHdUUqNaRlkUcwLgTPDPdnHY4Uzhmbx3m8fDxavLkpNQsyX3Xg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1734229292; a=rsa-sha256; cv=none; b=cPuots40GwhbF/hGPBc1e+2VxF/rJrB6Pq+H0Oxyk08QLt0q4pnzf7SGBAbT/HMy7hJZgw N1KUrT9M0b1e64fIMcQKpP8zHPOHVK1E8lAceNk2QGpETZQvSeeOjnZaWqxutCeuB2VbbQ y2ZVlNKaMc56cUsuCQrBv6EDMKSEsznZRVIH+AhjH7Q4vNQNB6ox3Abc5XAVzli7cSNMFT BpdGiVyCIMzNsmFZjjocElVge6g7vBIu1JD4IhlaBUlrIZ1knPz3ZGecbNGH4bmXTXwk1X V/RMHJw6cKGAWZ7h4NXMqrnrzo7RAQQC334HNqYQM8jkfVfk9iYiqd08CCjtLQ== 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 4Y9mzJ22VJzpFX; Sun, 15 Dec 2024 02:21:32 +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 4BF2LWXX081736; Sun, 15 Dec 2024 02:21:32 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4BF2LWPk081733; Sun, 15 Dec 2024 02:21:32 GMT (envelope-from git) Date: Sun, 15 Dec 2024 02:21:32 GMT Message-Id: <202412150221.4BF2LWPk081733@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Zhenlei Huang Subject: git: bca3a925b0bc - stable/14 - routing: Use NULL for VNET_SYS[UN]INIT's last arg, which is a pointer type List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@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/stable/14 X-Git-Reftype: branch X-Git-Commit: bca3a925b0bcb57bc48480fbc92fef257aeb1a72 Auto-Submitted: auto-generated The branch stable/14 has been updated by zlei: URL: https://cgit.FreeBSD.org/src/commit/?id=bca3a925b0bcb57bc48480fbc92fef257aeb1a72 commit bca3a925b0bcb57bc48480fbc92fef257aeb1a72 Author: Zhenlei Huang AuthorDate: 2024-12-09 17:14:08 +0000 Commit: Zhenlei Huang CommitDate: 2024-12-15 02:20:53 +0000 routing: Use NULL for VNET_SYS[UN]INIT's last arg, which is a pointer type MFC after: 3 days (cherry picked from commit 12b2d68bed37e379929cd9b5e0afe34c387be360) --- 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 f1c96f813d91..1b1281c858da 100644 --- a/sys/net/route/route_tables.c +++ b/sys/net/route/route_tables.c @@ -322,7 +322,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 @@ -361,7 +361,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 *