From nobody Thu Mar 20 04:27:01 2025 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 4ZJCGG3tsjz5rG6R; Thu, 20 Mar 2025 04:27:02 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4ZJCGF70rMz3wq5; Thu, 20 Mar 2025 04:27:01 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1742444822; 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=Cucki18JwYohI/63+ofXSDJMdK7XtG4Lq/saJrhr2xc=; b=K+AJeTR0tnHDN+YsjJEmZHTOWdCnlOqW4MBP7yLkm+g+XmocnCDwAIvEZYxUq50DcmJAOF eVVUKV2sGIL5HxCsCnhpdYEXyo0Yn8QPUm86u1xp1t6qTJ2wW7YFwDl8AOItpydoLKywEO Ix5jzvMVgizyET7eOYk40s77Hh7gIN5gSTd5IEVHsNQtXnumgs0SHvvAjOD7h46SF/kezb f+ozOFLKr0c65TE24J9PyeKNKMxYHqJGWvx3/tl4+UL1CPbeIL4W7imwGipdF3gg/d7bZS QfQdAM/dVK/JxY/03xwue6NvF+EJ/bPyGkMJ90XxHpcN0D65s+bkGU963ikwUA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1742444822; a=rsa-sha256; cv=none; b=UmRoVMvpxiC1eXSM6fXMcNlgvSJvuh2fxMjnobUMFNUmTH+IuZusvvG54mjJg6BBS0VQNU ++2YOAhzyx2wTCsAqyriRa/Md3AnYh4HN1DcqvdLAz+hTWf80vX7dlLIl4OZP7bFPKBDEz dJ17k+r2lGxN2bYTpWlAWPhIJgdHIYQHaFTpWF3BKW7rdxZjPyQUcmlFAv78IjV5T2CB6q ZefjW/hxzKOuIewxeRrn/phjeyS2VI9SMAD3ZDzCJQsZZxtG0D+GZt13lw2WiwAkHu41w1 tsV7SoUbZ5GvrThlugY2fvS5J3gn+XMWYmvycLXXT05N0TL9ZfUPfU9Ezi41bg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1742444822; 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=Cucki18JwYohI/63+ofXSDJMdK7XtG4Lq/saJrhr2xc=; b=qB50mURFosEDekaD63NYF3aKLRkRx6rUn8aB5BCuSKBhUB73FzFpTsfnaY+xAf438NwcwE 3sudDCdH7F50mn2s+UTKH0EjZtCwrrPpBkHBg4TrFD7G7bm0opyvaKKlYJeVkdpgarO9eq c3j23hVf0mlTeAWk5tG/gduUDhTmuDTwJaosP3L275GnrcyB7T/V9Ynoe4pqBbGrGkjozT aBWm+y52eZzXfhPvNYtZLnlW6AjVcif6ati2t6TmCLDYeyZhs2lRRtK8Z7q8gBi+kAz6jk kGAf7746hBxTpPxVyzz39EcQyLIjyP3hTWOrIH7HDwXN6vcvCsI2Xt78XHqj4A== 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 4ZJCGF4B8tzqqt; Thu, 20 Mar 2025 04:27:01 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 52K4R18H018748; Thu, 20 Mar 2025 04:27:01 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 52K4R1v1018745; Thu, 20 Mar 2025 04:27:01 GMT (envelope-from git) Date: Thu, 20 Mar 2025 04:27:01 GMT Message-Id: <202503200427.52K4R1v1018745@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Cy Schubert Subject: git: a7aa1196d354 - stable/14 - ntp: ntpd does not connect to NTP server with link local IPv6 address 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: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: cy X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: a7aa1196d3541178b5d43c015ec28e0200aa3467 Auto-Submitted: auto-generated The branch stable/14 has been updated by cy: URL: https://cgit.FreeBSD.org/src/commit/?id=a7aa1196d3541178b5d43c015ec28e0200aa3467 commit a7aa1196d3541178b5d43c015ec28e0200aa3467 Author: Cy Schubert AuthorDate: 2025-01-31 22:25:14 +0000 Commit: Cy Schubert CommitDate: 2025-03-20 04:26:45 +0000 ntp: ntpd does not connect to NTP server with link local IPv6 address Upstream bug 3943 (https://bugs.ntp.org/show_bug.cgi?id=3943) discusses: Starting with 4.2.8p18 ntp does not synchronize or even connect to the configured NTP server any more. ntp stays in .INIT. state indefinitely and checking the network traffic shows that ntp does not attempt to contact the NTP server. This is regression introduced by the fix for upstream bug 3913. This is a similar bug I reported upstream (ntp bug 3841). (cherry picked from commit 381956e267569031883a516e10446c29490ee41d) --- contrib/ntp/ntpd/ntp_io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/ntp/ntpd/ntp_io.c b/contrib/ntp/ntpd/ntp_io.c index 12a61ccb1d2c..69fae606f5c7 100644 --- a/contrib/ntp/ntpd/ntp_io.c +++ b/contrib/ntp/ntpd/ntp_io.c @@ -3205,7 +3205,7 @@ sendpkt( } do { - if (INT_LL_OF_GLOB & src->flags) { + if (ismcast && INT_LL_OF_GLOB & src->flags) { /* avoid duplicate multicasts on same IPv6 net */ goto loop; }