From nobody Fri Nov 26 03:10:23 2021 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 7D16818AB10F; Fri, 26 Nov 2021 03:10:24 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4J0frH3F0Qz4V4f; Fri, 26 Nov 2021 03:10:23 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 449322933E; Fri, 26 Nov 2021 03:10:23 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1AQ3AN0g005005; Fri, 26 Nov 2021 03:10:23 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1AQ3ANFe005004; Fri, 26 Nov 2021 03:10:23 GMT (envelope-from git) Date: Fri, 26 Nov 2021 03:10:23 GMT Message-Id: <202111260310.1AQ3ANFe005004@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Colin Percival Subject: git: e29711da2352 - main - etc/defaults/rc.conf: Add -i flag to rtsol/rtsold 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: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: cperciva X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e29711da2352dae50c575ab884399a6147e9444d Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1637896223; 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=oMS3f1lrYaPBSkGi81solK/lX1ED9LGBuqA2rSzUsmc=; b=ThvlcUpjy+cDhHOhOlzpxN5SxqlUfTEXNbHYiaafdct8qK0BR0Rmlrt2zWIVa9XlbolXRg vfDG0U3jeYma07yTRcvBayHGsAcWWN0s7/8uZtfb6lXQEqRTWxysK4G67VV+Xl+Hz/ZG3r AAlBe1pxYkiOSP5WSmVu0s8yQ3WI/Apv25msSjl3kNU68mhxRPxGYoC+IFt+Zv7A7vOob1 sPFswgsNRaWPdpzdFHiyWuVoko9fFit+jcvWV0wmqA03f+aVHGKUTbsLykTQa1VpBuPi4w E3rCzM61Usu0jlmGCUO2xjnbzJiUhAoTMdXTXQevb7QjBtSn4ieWVLeFV1mIMw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1637896223; a=rsa-sha256; cv=none; b=kb71jnTGUnwHfF3E5P4TAP/DIKRfokd7/yT/KwvwTxFvO0NaAMQe1WnL1GUNV2m/JAj4aa krGMFUYHrV1y/L+4pdVrj1nFeQCuwlGIJffdk4pR0SDRkxEuDa+yDjlKF1RTCR319CZYKB wX1uE6y5ZK4KgmLJ6PLcOzQKH6q60WQlvORd2EoONSRce5HnXcr7vN64v4bt3DK48X09rd hImix50fjsUeO0rdBsbdrsCmnK3CVpX0e7J9EqJ9Xk0jdM2Mh7WHi9Q1wHhT5R0w87bHuk lKTxIK9Z5BXEas2tMDydVgMlrd2a6bs1VueIDerGTHQhs9d4LMcAM5SId9sWKA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by cperciva: URL: https://cgit.FreeBSD.org/src/commit/?id=e29711da2352dae50c575ab884399a6147e9444d commit e29711da2352dae50c575ab884399a6147e9444d Author: Colin Percival AuthorDate: 2021-11-22 21:51:43 +0000 Commit: Colin Percival CommitDate: 2021-11-26 03:08:15 +0000 etc/defaults/rc.conf: Add -i flag to rtsol/rtsold This disables the random (between zero and one seconds) delay before rtsol and rtsold send a a Router Solicitation packet. This delay is specified as a SHOULD by RFC 4861 for avoidance of network congestion, but network speeds have increased enough in the 25 years since this first appeared (in RFC 1970) that it seems unnecessary as a default at this point. This speeds up the FreeBSD boot process by an average of 500 ms. Reviewed by: kp MFC after: 1 week Relnotes: yes Sponsored by: https://www.patreon.com/cperciva Differential Revision: https://reviews.freebsd.org/D33089 --- libexec/rc/rc.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libexec/rc/rc.conf b/libexec/rc/rc.conf index b27e1154a5e7..c6f1218ed98d 100644 --- a/libexec/rc/rc.conf +++ b/libexec/rc/rc.conf @@ -521,10 +521,10 @@ route6d_flags="" # Flags to IPv6 routing daemon. ipv6_default_interface="NO" # Default output interface for scoped addrs. # This works only with # ipv6_gateway_enable="NO". -rtsol_flags="" # Flags to IPv6 router solicitation. +rtsol_flags="-i" # Flags to IPv6 router solicitation. rtsold_enable="NO" # Set to YES to enable an IPv6 router # solicitation daemon. -rtsold_flags="-a" # Flags to an IPv6 router solicitation +rtsold_flags="-a -i" # Flags to an IPv6 router solicitation # daemon. rtadvd_enable="NO" # Set to YES to enable an IPv6 router # advertisement daemon. If set to YES,