Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp4815480rdb; Fri, 29 Dec 2023 14:52:13 -0800 (PST) X-Google-Smtp-Source: AGHT+IE6fYTe8+h5Sf1C7wIQtfaPZjFhlOCxyvzaL4a/7XlL4CikJVUnTgu2khx/1TNH8upctZYX X-Received: by 2002:a05:6358:3204:b0:175:2742:c80a with SMTP id a4-20020a056358320400b001752742c80amr219666rwe.8.1703890333569; Fri, 29 Dec 2023 14:52:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703890333; cv=none; d=google.com; s=arc-20160816; b=WPxfvV1npfNrbSvmAuC2QVuoOWkdkbuOsoUmHJ92YHhbbaUrFHGyHyiw98XblTwh0R sN8aNyPDnLtnqc0A2UIjHslR5UFzOsP71UXILnQlaNhjb84sQwkIYWF3879RafmYR7/1 eveL4xNvNjBj8pilzbQL1UmJ8wmCTuCXypkTqvnsqRilbyZKVqCliWiHv40vdVBUNwC4 bKyTxEdFb7n6IM3XLnCVUAKdTMXVKXFnJ66aHeDFrVrlmf8fGoVqkScvWv/JA8Eojdpv 3BvPW9xhG0jjGHATF3iafBTPzWcjHsyxS0vs3pZL35aOWVKVA3Vqx02NPp0ZlqDiin4I Du4w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=qOQeKPzo10bOmqUpA/9Ib+3/PlXnnrVrV2yDCT4ejms=; fh=x+9vEhA/ke6LQWzwnB+4zWLMvairAkZuYvJBCL+SfnE=; b=UEqrgV8f8GfiOJLnJXzFS3ByJ58+BitAhiYWufKj+hD7dB+CG3+/sPrzdb2Uj8U7Hy 6JzQe0xzbfE0oQlWRLV3GYc7tc0PJCdzcb5yYt76ytucZIRO6s905XwDMc+NjPaF8iXu 6WaVICG14cz9IeYuBO9sZmdLelm4vV2c2cVtds7F8SKQ4b9DHooKjoneg4yE2bykJca/ emwxMeJhJx9tZMvggjpg2B/UUx0pVfS00fLFHOdoiyxCVFE+5r5b1t9UEYPhH4Axjp0j rqwvHZguVWjqYH/O2wL89A4TdbF9rZ0vw2zQ+JhixlwosDyzPtq9kDtLlPW1QidDtYNm WcDQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ZOCJwh5o; spf=pass (google.com: domain of linux-kernel+bounces-13265-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-13265-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id pg4-20020a17090b1e0400b0028672033a5csi15101960pjb.124.2023.12.29.14.52.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Dec 2023 14:52:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-13265-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ZOCJwh5o; spf=pass (google.com: domain of linux-kernel+bounces-13265-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-13265-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 43895B22263 for ; Fri, 29 Dec 2023 22:52:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AC22C14AB4; Fri, 29 Dec 2023 22:52:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="ZOCJwh5o" X-Original-To: linux-kernel@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DBC1314A9E; Fri, 29 Dec 2023 22:52:01 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 19148C433C8; Fri, 29 Dec 2023 22:52:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1703890321; bh=jA/D7U42zKQCqXGdQ5da1seauDiv5W9RuorKy8W1/so=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=ZOCJwh5o6HR+HCr+YuMGg+gS4qa45h71d12lE/zKoOAQN6ani7mwX25H+ngrUhRES EEja2TCvKHhvrpECJ62Fr7eJhIvord+LB82dP9ECjr6aDl4uRWZuyIVo3GuCpXxc1X tycmVD6oA3PMMfyRO6LJH4BZ71oybLoq59t432xjie7ZAIZcIZZ5Sc4StPAURDcp2l E+aty5vedrFBoSHDEes8+YMeX/XTvjouXKTZAjL+s6NKqKx1n/mfjjlba1zApRUItp xl1RMi/7YBvQOPYUw02tfudL9P1N5tRJH16YBwAOhmqMlTfA/Em943Gl+E3zpCOJzN KPy1VXnztYhHg== Message-ID: Date: Fri, 29 Dec 2023 15:52:00 -0700 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [REGRESSION] net/ipv6/addrconf: Temporary addresses with short lifetimes generating when they shouldn't, causing applications to fail Content-Language: en-US To: Dan Moulding , alexhenrie24@gmail.com Cc: bagasdotme@gmail.com, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, pabeni@redhat.com, regressions@lists.linux.dev References: <20231229163339.2716-1-dan@danm.net> From: David Ahern In-Reply-To: <20231229163339.2716-1-dan@danm.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 12/29/23 11:33 AM, Dan Moulding wrote: > I think a maintainer will probably need to make a call here and decide > how to proceed. > >> TEMP_PREFERRED_LIFETIME is an administratively set variable: The user >> can change it to whatever they want whenever they want, and the >> operating system can adjust it automatically too. > > Agreed. And the behavior it seems you really want is to prevent the > user from administratively setting it to a value that is lower than > REGEN_ADVANCE, so that it won't stop generating new temporary > addresses altogether. > > But preventing the user from configuring it to a value that is too low > is different from generating new temporary addresses with preferred > lifetimes that are greater than the currently configured value of > TEMP_PREFERRED_LIFETIME. I still believe it would be better, and would > be in conformance with the RFC, to simply not allow the user to > configure a too-short TEMP_PREFERRED_LIFETIME instead of tinkering > with the lifetimes of generated temporary addresses. > >> It's fine to revert the commit for version 6.7 (after all, I think >> everyone wants a break for the holidays). Hopefully by version 6.8 we >> can agree on a way to support users who want to randomize their IPv6 >> address as frequently as the network allows. > > FWIW, I think the desired effect you are seeking makes sense and is > the right thing to do. I'm just not convinced this is the correct way > to do it. But I'm not a maintainer and also not an expert in IPv6, so > I'm definitely not the right person to make that call. > Send a revert before 6.7 is released which will most likely be this weekend.