Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Dec 2021 18:28:08 GMT
From:      Colin Percival <cperciva@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 8056b73ea163 - stable/13 - etc/defaults/rc.conf: Add -i flag to rtsol/rtsold
Message-ID:  <202112051828.1B5IS8MP004315@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by cperciva:

URL: https://cgit.FreeBSD.org/src/commit/?id=8056b73ea16380f069b3fe36f1e462c72697907a

commit 8056b73ea16380f069b3fe36f1e462c72697907a
Author:     Colin Percival <cperciva@FreeBSD.org>
AuthorDate: 2021-11-22 21:51:43 +0000
Commit:     Colin Percival <cperciva@FreeBSD.org>
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,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202112051828.1B5IS8MP004315>