From nobody Thu Aug 01 17:50:11 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 4WZc1c1vlwz5R8fL; Thu, 01 Aug 2024 17:50:12 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WZc1c0tZWz3wtZ; Thu, 1 Aug 2024 17:50:12 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1722534612; 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=aEZyZroGUUd8zkIsg0O110H5K0tYKAqvlfiS/TxtE5Y=; b=nQsqKvHZDspqRKaTJ8iHhhZ/0oHuYf+v66gDK/oeKWn9mPdoZz6yl/ZZbKZWNOzlgSxauz 7BAT7heAWGcV73zfAlDsemF0mRlGekZK8ytHPmLejci32njJmFq63y5jZ8UYM9BMpr5l5w I2kG39sTmd7YpXVHkmjwlyLgikWos/G0GEWb++Af0L9q7vwqzXNicurw8p+1nSycJ1yZDi 6YKKCB1uRbxYdFItoX62m0u4P0zRIIXtFR1kCQbT0tA9WZQvyy+imKcpakHsw+D7zIyZ5h F6EmW/FTPf3tmv+v3zS/lmgfi9pvmVU8/E/h4FzdK4btsNG+9HsMD8lC7x1kwg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1722534612; a=rsa-sha256; cv=none; b=dV86CRLocV9U3iRPb/sKsZTm4j+I2JdfQIw+6Fy/HHXv7aa3FxYmQ2gbcNiZd9xl/CrC+G 5o0LfdVbpktQJo6QKnf9d/DKGWCM+VatdCLKxRQN3gUP9qRSHKZNb6utl1D2DNDwSWd4+h Uhcir8+iJPehPPabv2ViOtnBdojWxTjLdr8qbq9NWeLfAgvyX34ROpVgtTsY8EBYfTpuii 5h76xdY8YmHKdVUTb0OQ2+Z1mWTV+IR1lVPLbOIQQWzgZYLyslyYQy0u/I1/RAO0kYFyDX p0bMg0mQ0KI7/onFgeQgfy81VkTcX7eCr03JCmv0ZVuYz673dCJF0q7uWLezYg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1722534612; 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=aEZyZroGUUd8zkIsg0O110H5K0tYKAqvlfiS/TxtE5Y=; b=i4HEW/PR8A482A/YYzqNuuYpXtSR490cqgASUvOkGvyDLD4CBtZykcQNBCie4eYmJ+UbUr ZeqaePv3j7j93Z6bPptYHJ6MQvijFkL32aBdtyOcD8txOumwHdyHri8L5/ME+2y9VQGBZn sLusHpCpWs5kXwJ552hwaWbniU3SAqyWOrqs+MadG46j8oAksS+oj3ht1Xflt/Qvjgc17c 21QbLbCW8fVGXCrCxlGdv++7zKv9H3YV3Y0+dD1ND0LgyjQe9KXpMjhimOSd3Zp2fvtoAp XPB6dFn4Ctzh29fpGjqbgUANAbMPFb9Seuu4UHb342/AKgOFTW43Ckqc1Ks0mw== 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 4WZc1b74sLztrF; Thu, 1 Aug 2024 17:50:11 +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 471HoBpa054317; Thu, 1 Aug 2024 17:50:11 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 471HoBMG054309; Thu, 1 Aug 2024 17:50:11 GMT (envelope-from git) Date: Thu, 1 Aug 2024 17:50:11 GMT Message-Id: <202408011750.471HoBMG054309@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: a48f7a2eb90b - main - fibs: Suppress the WARNING message for setups with multiple fibs 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: a48f7a2eb90b0812281e6d69bb05eb61433ea247 Auto-Submitted: auto-generated The branch main has been updated by zlei: URL: https://cgit.FreeBSD.org/src/commit/?id=a48f7a2eb90b0812281e6d69bb05eb61433ea247 commit a48f7a2eb90b0812281e6d69bb05eb61433ea247 Author: Zhenlei Huang AuthorDate: 2024-08-01 17:48:58 +0000 Commit: Zhenlei Huang CommitDate: 2024-08-01 17:48:58 +0000 fibs: Suppress the WARNING message for setups with multiple fibs Change 2d3982419593 switched net.add_addr_allfibs default to 0. The warning message is for potential users of the feature. Well since all supported releases have 0 as default, those potential users may have already gotten the notification, emitting this WARNING every time increasing the fib number is less useful but rather confusing to other users. So let's suppress it right now. PR: 280097 Reviewed by: markj Differential Revision: https://reviews.freebsd.org/D45971 --- sys/net/route/route_tables.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/sys/net/route/route_tables.c b/sys/net/route/route_tables.c index fd211bcd5dda..da829503b846 100644 --- a/sys/net/route/route_tables.c +++ b/sys/net/route/route_tables.c @@ -231,11 +231,6 @@ grow_rtables(uint32_t num_tables) new_rt_tables = mallocarray(num_tables * (AF_MAX + 1), sizeof(void *), M_RTABLE, M_WAITOK | M_ZERO); - if ((num_tables > 1) && (V_rt_add_addr_allfibs == 0)) - printf("WARNING: Adding ifaddrs to all fibs has been turned off " - "by default. Consider tuning %s if needed\n", - "net.add_addr_allfibs"); - #ifdef FIB_ALGO fib_grow_rtables(num_tables); #endif