From nobody Sat Oct 4 18:33:30 2025 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 4cfDgc6NL6z69XV7; Sat, 04 Oct 2025 18:33:32 +0000 (UTC) (envelope-from des@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 "smtp.freebsd.org", Issuer "R13" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4cfDgc5Skxz3j0S; Sat, 04 Oct 2025 18:33:32 +0000 (UTC) (envelope-from des@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1759602812; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=zufEv+oM+w8uxXOXUlVsQHeW06iDbtvTh4ux8OF/6Gs=; b=nSJmLi0COND6xROlvdQp28M4UN6ThTt2Ncz+u6cfQ6AfLGXazIhexLOLNaxziDSzMO3uDs KpuV9cpSvRR2LmLbvauFCdfmKilYUrt4IJ50wjufae+QNK5yZJb0pWUWvkNHybYJBz98ge IuohI5poMbk9gTbiwP4URW4bei9DOg5N9wfw5oVr6sI5BVZ7TsKxkCe1/aC7MG1rhKEPAL 1rF6IwrSST/icemSlRDkJEyzxMYX1+RAEUJ4MRaLKJIuQR0oySfrmkn+WNMcWRJTX3CceT wocgXoOW1Ve3z+OMQbploC5abeGK6aCH3jdkvQEhRoTA6ymk4EutWI9He4vtAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1759602812; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=zufEv+oM+w8uxXOXUlVsQHeW06iDbtvTh4ux8OF/6Gs=; b=jCtz9nmNqpnAJ3fW3v1yJk4ySegwrLPHM9uCtIeCaWfVVeFQyzKwB2/3z4w4NmkxBOHp1v WQXXSIZrU4I8pHf96j1DseBY7Vnb6OEgUgThVsLGd3qDDwwOZw6yCOoLdEE4GxPoCYSEHl IXf6QRsZeT6MC8KuklzLGzRNDgyhgQcGohIovYWDz4YmBL/NLRElUbvWiwBb4JMy1JuPn8 MHZqXAamxcPmE8OaLf2Es+6hgfzdjtfz8J6/pKgSx05Vf7WgVsTGu2jBQ/+DrCvRiF+JU8 de2xbgsxPJHJ3OeYm2OGVlglnTDC5Sc2+OVI5WBctaJXHGJYkUQF5TO32BamtA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1759602812; a=rsa-sha256; cv=none; b=NVl+sDhdoTkudt+xPJmcUKw0ME5rvv1RV6L69M1j618Whp4mdpQ9OJBJD8EWpsREiW2QVY iIPLFN91Og9oswvFAaTeDJdbBreS7DfOJV6oC0Py/3ECXUYBcw66ABtP9pjwtXUF+MiP0h mBd/VPslZWaCZBvE4eR20wHkAxvMC+0iPGlJ7xA3xgTD+qkaIPUVe/4ZUldV1SGLpbcudK kga2HkXvJ0khcN1GJ4y/BgVRZUsF2z0E0io8nxkpKINX5uqyv4GrFbftnh4geY52fY2ewk bgi9eTw8CCFDBvo/XrH5mwYwTodFIXMa0hGWPl7aeXJO/WpiGl7epDuJp0jFyA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from ltc.des.dev (88-177-82-251.subs.proxad.net [88.177.82.251]) (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) (Authenticated sender: des) by smtp.freebsd.org (Postfix) with ESMTPSA id 4cfDgc4FJkztJt; Sat, 04 Oct 2025 18:33:32 +0000 (UTC) (envelope-from des@freebsd.org) Received: by ltc.des.dev (Postfix, from userid 1001) id 8CAAF883BF; Sat, 04 Oct 2025 20:33:30 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: "Bjoern A. Zeeb" 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 In-Reply-To: <2r6r204q-qs32-70pq-rqn1-5s4p54r1385@mnoonqbm.arg> (Bjoern A. Zeeb's message of "Sat, 4 Oct 2025 16:23:22 +0000 (UTC)") References: <202510020932.5929WpJi067756@gitrepo.freebsd.org> <2r6r204q-qs32-70pq-rqn1-5s4p54r1385@mnoonqbm.arg> User-Agent: Gnus/5.13 (Gnus v5.13) Date: Sat, 04 Oct 2025 20:33:30 +0200 Message-ID: <86ecri8qkl.fsf@ltc.des.dev> 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: quoted-printable "Bjoern A. Zeeb" writes: > Dag-Erling Sm=C3=B8rgrav 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