Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp791739rdb; Fri, 22 Dec 2023 05:23:09 -0800 (PST) X-Google-Smtp-Source: AGHT+IHuMNKYZFg1D/EIwPA9w0VdmdoAJNrudaz+ZNm/qzYBo9jVMFGW3Z8dOO0oeWGOHaZzHw+C X-Received: by 2002:ad4:5963:0:b0:67a:b0a5:843c with SMTP id eq3-20020ad45963000000b0067ab0a5843cmr1619673qvb.58.1703251389020; Fri, 22 Dec 2023 05:23:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703251389; cv=none; d=google.com; s=arc-20160816; b=GNw0AyjwYnvw8xhjXD9runI//Qr4kiqWadLoHRDEHfDH0HR7CQ+2Ha2COLLBez2JoF A+8Cmrti6ZRAUrLbPfkeJpKeZW7NGUFD/stZ6+QFJZ8X8NI0zr1Dzp0jNfCURovreqRt +jFP8sC8oiPqwFOIr3jYEFSNjJS+yeNgU1PVbac71intRv9kdxjpdgdbdkb0KfDuddqz 8u9edyw17paNW+sa/XlxMk+oBwWX6dwxVSp4Wo/L9uxcyaaOQzYL5WW7eg0aDS9+H5t6 1d9EhqN5DWyok2RbEYwb42NBn9OZIDMd/KmJf5WrLgD40flpp5W5Lhhf93lY3E357IYc B5zQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=aYxof2/rTBfFuSZEZhakbi3xLEy7HENc6qarIC+O1fw=; fh=CbSU8VZTbrC65uYKIUVv0NvCeJKFSXsPl/tvX5/w++Q=; b=R6IEnaQxdPLOb+8YI+2CHQzsuSY+fCCX6D6RE8CJhYP9GbJBB6qPSL0jqnpZRpKxqt r9xBFzdhjSezghbRP2sSvakps4p9A8VKQNfLpu42LU5BMIHjCCUtXEjZPIpEWKL9d1yR LHT4GYYmE3LlQFMEuMrLHijpob6dh9pK6RmE18qU/upJWQ4oJ+RPTbp8b9XMH6yoGUYV IhXCdvdANzTGCjm/iA/s+7Q/58QpfF8Ez4LDq7LBHJXSG3dGiMxOIkX4N+YtRrN1b+xj 62MDp0Y4B2cNbuQ3++u4j2QEZ1BdDU8MkhMxFiuk2uE4dbybIDaK2SyS6auorUqjQ1D1 KCtQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="ftP/gdMV"; spf=pass (google.com: domain of linux-kernel+bounces-9745-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-9745-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id x8-20020a0ce248000000b0067f79783287si4468266qvl.514.2023.12.22.05.23.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Dec 2023 05:23:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-9745-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="ftP/gdMV"; spf=pass (google.com: domain of linux-kernel+bounces-9745-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-9745-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id B3FF41C21BA4 for ; Fri, 22 Dec 2023 13:23:08 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D3BFA19BD3; Fri, 22 Dec 2023 13:23:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="ftP/gdMV" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-pl1-f171.google.com (mail-pl1-f171.google.com [209.85.214.171]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E86C2199A7 for ; Fri, 22 Dec 2023 13:23:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pl1-f171.google.com with SMTP id d9443c01a7336-1d408d0bb87so12213415ad.0 for ; Fri, 22 Dec 2023 05:23:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1703251381; x=1703856181; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=aYxof2/rTBfFuSZEZhakbi3xLEy7HENc6qarIC+O1fw=; b=ftP/gdMVM9zl34Vnq/v+onS9hHoUukYOGA3idy0HUoFakBZPrEXDAPKZPiyila/wyx vSykgPpls2uDa+p8SDvm0qQxmR1KhTPnFlSx7wt1O1cgHs4GrjiHtbsXyqdOdfPxVM0E XCLV3J5i45paLCQqvxcy528yS/divd+dixVgGo5DJ24jxayv+gMd2qxi0FCbGj06B2BK D8YvjkKFhz7INyvE6GUzrWuBla2xuPRXFo1b9jaU9rFGn8gIzlECUV8EgigWLI+xtRcz ZEJCQGzl8cmAP7DySbOCQD8aW9uoICb8BInC79mzke7Kc6BCn6EhcuCYpjBpo2LbdaxI N/CA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703251381; x=1703856181; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=aYxof2/rTBfFuSZEZhakbi3xLEy7HENc6qarIC+O1fw=; b=BZEKyZaLt7aIwGwzm09JghpbUp1+96IUcYggyuj6n84QhfXbbVodrjrlaUofG9oS4+ fKRIQF/OFCFsPAwvTbwR7bMgQoipTAQPgxqHuXv2sA9/iTLA1qEjTd6k594G50Lhjr2v /ou7H0TlxXbteq+WzMLRWqsRbpas/JcZHiBoshoS/RCKIh6RrS+JIVa+ZKCc95evdc4/ lRg4FZHOkLMnSut7aCE+rKhbJJ/jickojW/CO/wlHK1RR9jPXQS0Lwoi/1u0PhZDiual bKclMwr8YAD/oUelgPIXEVmmDsaoI03Wy7w93HaHviy9HgQB1nUI9tgOOFbUgTIhvqQP s2ww== X-Gm-Message-State: AOJu0YyzSIYwhVciLhgYbOtoP4KZxLm6XzcZ5Y/D91Of3E7WcXJhrkFP m0w0PRtdJsbEqs9vH5FbLbk= X-Received: by 2002:a17:902:6844:b0:1d3:eb97:9446 with SMTP id f4-20020a170902684400b001d3eb979446mr1208172pln.9.1703251381180; Fri, 22 Dec 2023 05:23:01 -0800 (PST) Received: from archie.me ([103.131.18.64]) by smtp.gmail.com with ESMTPSA id h9-20020a170902748900b001d3e13dc9c4sm3434304pll.162.2023.12.22.05.23.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Dec 2023 05:23:00 -0800 (PST) Received: by archie.me (Postfix, from userid 1000) id 854B51024D744; Fri, 22 Dec 2023 20:22:55 +0700 (WIB) Date: Fri, 22 Dec 2023 20:22:55 +0700 From: Bagas Sanjaya To: Dan Moulding Cc: Alex Henrie , "David S. Miller" , David Ahern , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Linux Kernel Mailing List , Linux Regressions Subject: Re: [REGRESSION] net/ipv6/addrconf: Temporary addresses with short lifetimes generating when they shouldn't, causing applications to fail Message-ID: References: <20231221231115.12402-1-dan@danm.net> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Vni8xhQwWxIq5ZfM" Content-Disposition: inline In-Reply-To: <20231221231115.12402-1-dan@danm.net> --Vni8xhQwWxIq5ZfM Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Dec 21, 2023 at 04:10:57PM -0700, Dan Moulding wrote: > I started running v6.7-rc5 on a desktop and began having problems > where Chromium would frequently fail to load pages and give an > "ERR_NETWORK_CHANGED" message instead. I also noticed instability in > avahi-daemon (it would stop resolving local names and/or consume 100% > CPU). Eventually I discovered that what is happening is that new > temporary IPv6 addresses for a ULA address are being generated once > every second, with very short preferred lifetimes (and I had an > interface with thousands of such temporary addresses). I also found > that it seems to be triggered when one of the devices on the network > sends a router advertisement with a prefix that has a preferred > lifetime of 0 (presumably it's sending that because it wants to > deprecate that prefix). >=20 > I bisected it to commit 629df6701c8a ("net: ipv6/addrconf: clamp > preferred_lft to the minimum required"). Upon reviewing that change, I > see that it has changed when generation of temporary addresses will be > allowed. I believe that change might have inadvertently caused the > kernel to violate RFC 4941 and might need to be reverted. Can you verify that by actually reverting 629df6701c8a91 on top of net tree? --=20 An old man doll... just what I always wanted! - Clara --Vni8xhQwWxIq5ZfM Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQSSYQ6Cy7oyFNCHrUH2uYlJVVFOowUCZYWNrAAKCRD2uYlJVVFO oxAMAP9lltebRi7sgtxnXr9tOtoEH00eLNEKjA5Xx/oeq4m7cQD+PrCMNymm/dwF wf9vH36BMIISVma6/Mlh804YTHD2DgQ= =H5nD -----END PGP SIGNATURE----- --Vni8xhQwWxIq5ZfM--