Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 04 Oct 2025 20:33:30 +0200
From:      =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@FreeBSD.org>
To:        "Bjoern A. Zeeb" <bz@FreeBSD.org>
Cc:        src-committers@FreeBSD.org,  dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   Re: git: 5ead817c3b7a - main - rc: Teach netwait to wait for  DAD
Message-ID:  <86ecri8qkl.fsf@ltc.des.dev>
In-Reply-To: <2r6r204q-qs32-70pq-rqn1-5s4p54r1385@mnoonqbm.arg> (Bjoern A. Zeeb's message of "Sat, 4 Oct 2025 16:23:22 %2B0000 (UTC)")
References:  <202510020932.5929WpJi067756@gitrepo.freebsd.org> <2r6r204q-qs32-70pq-rqn1-5s4p54r1385@mnoonqbm.arg>

next in thread | previous in thread | raw e-mail | index | archive | help
"Bjoern A. Zeeb" <bz@FreeBSD.org> writes:
> Dag-Erling Sm=C3=B8rgrav <des@FreeBSD.org> writes:
> >    rc: Teach netwait to wait for DAD
> >
> >    In some configurations, especially in jails, it is possible for the
> >    system to boot so fast that we end up launching daemons while duplic=
ate
> >    address detection is still ongoing.  If that happens, said daemons m=
ay
> >    fail to bind to IPv6 addresses, as they are still tentative.  Teach =
the
> >    netwait service to wait (up to 10 seconds, by default) for the tenta=
tive
> >    flag to vanish.
> Why 10s?
>
> You should never have to wait longer than net.inet6.ip6.dad_count + 1 sec=
onds.
>
> Also the extra variable netwait_dad_timeout really isn't necessary in tha=
t case
> if you use the sysctl.

Thanky you, please see https://reviews.freebsd.org/D52905

DES
--=20
Dag-Erling Sm=C3=B8rgrav - des@FreeBSD.org



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