From nobody Thu Mar 20 04:27:17 2025 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 4ZJCGb5fnwz5rGF0; Thu, 20 Mar 2025 04:27:19 +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 4ZJCGY6Y21z3x21; Thu, 20 Mar 2025 04:27:17 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1742444838; 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=6zOKqrtCLH8jzhw3Vp9QlLd7/esggZKdWtj8V4N7pqc=; b=ls8MvEN/IZvPENMbm0XZmdm3ZiLztS3uVSKDPNmzf0eNXAxRl7JeMV+jeeY0VgqMor1NbW t1HZBwmBoA50vhps2PiBoHRj0W0/4FQsMtaVFiOexkfjpml2xDht2szSi9aqPnxCd9AK90 Rjky9kRSNRcEwgZ4+1M2v5Snyj3M7QhqrTxYkb4o8KqcfAQySrsRZg+1Y5fkeHP4cn64Ar ZZNrvgWC809+oHc2Mu2m3ltyFKFFyKDCvbaV2Ht0QpwZq2ewNIaP2MbOc/Vqe+gcxc0wnp vlfKi6cZI7m5UCMgEZ9poVF7rKK2RZufwqcwaguMR4Q4eOdsNV7ENVMeoNdU9g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1742444838; a=rsa-sha256; cv=none; b=a70cLE1oOxW23Oc4XUy9MJU7m9wx3g1JpytLEryUn0Z8Afywjkk1rv2a/bLwoHK0rJyZ1r IQPwPrTvRwHXVqLV46qSXirPxSoRUDcEHqe3LzYWg1tILJY8EXU24qWhUOm4BjkTbBkPIt UgixG9D3UHeAXJnn3m96eyEFU11+/W0jm2H8pxT/hVU1U13Ev4/7KjEHA1HTFGZQQZsbKz jK9nKhNYF/cIOmuEfnTxYwrmtVC6jrh+dbZM5O8e6skaxJZxIbT0UecS4Q9RveITQ112ah 39+bHtyb0uePuaKjI4hnvRx+ePtT7QH1e9gv1VVAP5ZQmbj9ruUr+zl+jbIWcg== 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=1742444838; 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=6zOKqrtCLH8jzhw3Vp9QlLd7/esggZKdWtj8V4N7pqc=; b=RJUyN9HZ6jFJabR1NHQnVYciUaSzpUGbxERHBcbnCG9Rqi8ftPk2PAebPAkgEmHLeRUU7R djR6jzoVf2R8aK2C7eiUwZwJnFhNYa7lWD38TAUY4g1LSGQr8DrIfGWJpuT5hJI7jFEIwu 6Q730ZlRA2mpgs20Q9mprUG9sGL0Of6mQlxoz7F9oPJMXJmdqhSjp/27sREpnl3XlPeplV WE3tYLKdATqNg5fxAofVYrr1sczFkcVWnm1Sl0YrCIXgMaQByY7iUh/O9ibCPrZiAHE6Ga oQj9V9tyCpLIlO5FHR8XhT0pZ+yGpVnzhEvicQOo5Cw0Vnq/WriQ7J5xRDiFJA== 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 4ZJCGY4NNGzqKx; Thu, 20 Mar 2025 04:27:17 +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 52K4RHH3019009; Thu, 20 Mar 2025 04:27:17 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 52K4RHWS019006; Thu, 20 Mar 2025 04:27:17 GMT (envelope-from git) Date: Thu, 20 Mar 2025 04:27:17 GMT Message-Id: <202503200427.52K4RHWS019006@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: e7b5dabcba26 - stable/13 - ntp: ntpd does not connect to NTP server with link local IPv6 address 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: X-BeenThere: dev-commits-src-branches@freebsd.org Sender: owner-dev-commits-src-branches@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/13 X-Git-Reftype: branch X-Git-Commit: e7b5dabcba26e28f79e9681a8fdb2ffa2c5122dc Auto-Submitted: auto-generated The branch stable/13 has been updated by cy: URL: https://cgit.FreeBSD.org/src/commit/?id=e7b5dabcba26e28f79e9681a8fdb2ffa2c5122dc commit e7b5dabcba26e28f79e9681a8fdb2ffa2c5122dc Author: Cy Schubert AuthorDate: 2025-01-31 22:25:14 +0000 Commit: Cy Schubert CommitDate: 2025-03-20 03:10:09 +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; }