From nobody Sun Dec 05 18:28:08 2021 X-Original-To: dev-commits-src-branches@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 CC5B418B9949; Sun, 5 Dec 2021 18:28:09 +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 4J6Zn45MLkz4g57; Sun, 5 Dec 2021 18:28:08 +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 7D4361CF12; Sun, 5 Dec 2021 18:28:08 +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 1B5IS8CE004316; Sun, 5 Dec 2021 18:28:08 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1B5IS8MP004315; Sun, 5 Dec 2021 18:28:08 GMT (envelope-from git) Date: Sun, 5 Dec 2021 18:28:08 GMT Message-Id: <202112051828.1B5IS8MP004315@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Colin Percival Subject: git: 8056b73ea163 - stable/13 - etc/defaults/rc.conf: Add -i flag to rtsol/rtsold List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@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/stable/13 X-Git-Reftype: branch X-Git-Commit: 8056b73ea16380f069b3fe36f1e462c72697907a Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1638728888; 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=Iow/StEjOfgLEVngbmKfxrP9EWacf5B1pEvbvmhdCuY=; b=RBYX2yPC+xVio3Z26WGgMky5Rug1DrckSbfhNDcVvi/V4PKu3e4zAyAoxxs8d4tqn6qxWf COgQ7yOCPM9ORIT/TS+cehPVmiNLMIBiofDvdwlw244wmKInAuk4S3LRPmtt3KdwXxOao+ 6wBBAvpuBAJ9EJ/ou5IDYTQNzA9qzYV1nkKl1BR+efXgMB3hS+B+5E6tOi/QnTtMmDPR+e YawR3jH2GHxKjTzMZfPotXTkIQD22FfDntH80BPyUqvhm3u0j6jtnFhRoTdMQQeQ1L0PNt UkHgAhWYL7sfeUdw/2ycQz0ujmbsILM7SaFbVIhaPstVruu7NlO30yltUWbhMw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1638728888; a=rsa-sha256; cv=none; b=Fp0nDohoVzkGjWge+1RiY/qaBOOyoFTGpYfjPi7edNVKT+5WrLauaOVFeNIPChOpqj1vog NIg4GVfhtHDMMJ+QPPK9WmrKvY4Wbu79gy8u6/SDQiCSv7JBAM63bvUiyLOQ4PXggUxQab Kjd66rqS5zskkGbCWdUGXaYRbBTaVtcMZVHsAv/EUpM/O4trQTUHitVt/21IKu5X02VDVz Grb+dXB+4AVVTm1WfPOhw8ja9Bx9HfyIGdkcJyQzkY1GaLBbEDK4l6bF2q3LKAvk9yTXwO +iUORp69ZTfXJdDJI5FlmzXhEfyZlclNK4mNNQOizzLAL1fbW1p+2+xNMg8lew== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by cperciva: URL: https://cgit.FreeBSD.org/src/commit/?id=8056b73ea16380f069b3fe36f1e462c72697907a commit 8056b73ea16380f069b3fe36f1e462c72697907a Author: Colin Percival AuthorDate: 2021-11-22 21:51:43 +0000 Commit: Colin Percival CommitDate: 2021-12-05 18:27:37 +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 Relnotes: yes Sponsored by: https://www.patreon.com/cperciva Differential Revision: https://reviews.freebsd.org/D33089 (cherry picked from commit e29711da2352dae50c575ab884399a6147e9444d) --- 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 9336a9d91004..58865aae7753 100644 --- a/libexec/rc/rc.conf +++ b/libexec/rc/rc.conf @@ -522,10 +522,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,