Article View: linux.kernel.netdev
Article #8792[PATCH net-next 0/2] ipv6: addrconf: keep lifetimes of manual addresses on RA
From: Hermin Anggawijaya
Date: Fri, 30 Oct 2026 05:57
Date: Fri, 30 Oct 2026 05:57
22 lines
10130 bytes
10130 bytes
A PIO with the autonomous flag set refreshes the lifetimes of any address on the interface that equals the address SLAAC would form from the prefix, including manually added ones. RFC 4862 Section 5.5.3 e) only applies this to addresses configured by stateless autoconfiguration, and the result is that a static, permanent address silently becomes one that expires. Patch 1 restricts the lifetime update to addresses carrying IFA_F_MANAGETEMPADDR, i.e. SLAAC addresses and manual addresses added with mngtmpaddr. Patch 2 adds a selftest to rtnetlink.py. Hermin Anggawijaya (2): ipv6: addrconf: don't update lifetimes of manual addresses from RA selftests: net: test RA PIO handling of manually added addresses net/ipv6/addrconf.c | 9 +++ tools/testing/selftests/net/rtnetlink.py | 79 +++++++++++++++++++++++- 2 files changed, 87 insertions(+), 1 deletion(-) -- 2.56.0
Technical Details
Message-ID:
<20261030055757.2094944-1-hermin.anggawijaya@alliedtelesis.co.nz>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-353606-linux-kernel-netdev=dewy.ruShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-353606-linux-kernel-netdev=dewy.ru From: hermin.anggawijaya@alliedtelesis.co.nz (Hermin Anggawijaya) Newsgroups: linux.kernel.netdev Subject: [PATCH net-next 0/2] ipv6: addrconf: keep lifetimes of manual addresses on RA Date: Fri, 30 Oct 2026 18:57:55 +1300 Organization: Usenet Network Message-ID: <20261030055757.2094944-1-hermin.anggawijaya@alliedtelesis.co.nz> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Injection-Info: usenet.network; logging-data="2172208"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:AGagollFrgKRW/kNUrkBDb1EJuE= sha256:CHAOyxsme0/kyjmlu0YvArQ9x+WAccDMDuPWMmssJtQ= sha1:JqbuSpK1lk5fQp2qvxQnggkkWmY= sha256:vS/6BqGw36/zSyofXREsSP8Ff13JumxNB2KdeWfF+pU= List-ID: <netdev.vger.kernel.org> X-Mailpost-Empty-Hdrs: X-Spam-Level X-Received: from localhost (localhost [127.0.0.1]) by mail.dewy.ru (Postfix) with ESMTP id DB0A4125C7F; Fri, 30 Oct 2026 09:00:33 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.049 X-Spam-Status: No, score=-3.049 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.25, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key) header.d=alliedtelesis.co.nz X-Received: from mail.dewy.ru ([127.0.0.1]) by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HGCThFFO2KKx; Fri, 30 Oct 2026 09:00:28 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-353606-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=fail (p=quarantine dis=none) header.from=alliedtelesis.co.nz X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10]) by mail.dewy.ru (Postfix) with ESMTPS id B972C125C77; Fri, 30 Oct 2026 09:00:18 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by sea.lore.kernel.org (Postfix) with ESMTP id 9DC892906B; Fri, 30 Oct 2026 05:59:45 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1793339985; b=fUC1YM/e20+gfFkVhwBSeC1Wf5r/QzcV1m2j2ahhDlAxC36+BS2HHXwkIQiPiWnnO6BS z9FeAVnoz6O8jCc3YYicIjfGupoAb6HRjBdq/bDocczelrejdRXHWr0xuCWOHwqUVlDSk r79+eYnZSTxGsX/1hUKmeHeIFi6TsjFFAa4UdlmHmKlzdBiZFEcl0IoD2a8TR/IqPpk3f YUhx9PV91nelULRPrHPxywCW2pzZ8xUy67aST11xQOqdbQKFnpJFBFPy3nFyjmb+GpDK8 zW0ODNupiDmqMQvIwSSx+UhEincBTPmyCMtoVCLxmiefFuVtuicu7ZC9qylJbx6SLqw== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793339985; h=X-Original-To:Received:DMARC-Filter:Received:DKIM-Signature:Received: Received:Received:From:To:Cc:Subject:Date:Message-ID:X-Mailer: X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe: List-Unsubscribe:List-Owner:Precedence:MIME-Version: Content-Transfer-Encoding:X-SEG-SpamProfiler-Analysis: X-SEG-SpamProfiler-Score:x-atlnz-ls; bh=bJPDbwmu2n41I3LqblZ3/zd2gnBPm8CP17I0CfwL6dM=; b=wGJ71JnsKDsQGya2Kg8Qul0I5JNV2kCfidPbuAW7JW/zbhSq4W2MVLfV2O4Yj/Btl7Ay GQcHlirPL1AohLQuzKGHOFBpoC8OzHq6zROk3gCOAv9REMFUB2FIa0tl/n4OSb4nLBinc 732vOqN8Rz5Lel8AxSHwowzf0b0FiKbMtRQ6dz+xg8KkF0cV4oXXXy31okWdGw+Bp7Mwk C8V480oAXcLjbxozdaheQJsw4SVXjGqDuLaWcL/O6v5gcwS1K01rbZoWhce66WrosugsO DdPloIEwjeZs9s5oSDIICg4ixjMPhq50KGa2ATdktNRa63z8JqXKOxY6fI6rO4zHf6A== X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dkim=pass header.d=alliedtelesis.co.nz header.i=@alliedtelesis.co.nz header.a=rsa-sha256 header.s=mail181024 header.b=oxoesOKF; dmarc=pass header.from=alliedtelesis.co.nz; spf=pass smtp.mailfrom=alliedtelesis.co.nz; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 743E5606A320; Fri, 30 Oct 2026 05:59:45 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=alliedtelesis.co.nz header.i=@alliedtelesis.co.nz header.a=rsa-sha256 header.s=mail181024 header.b=oxoesOKF X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=202.36.163.20 X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1793339983; b=duzI5SgghZHQYGcUxw9CcKCY7UlS5p1kFol8F75zcJl056LVNnTrOsqItO8duDBpt5zZ yDg+vXxITla1aC5qb/tqqQ6uKc/TkHUFLEwy3guQVQmvppbBTu5nbbXemVLzaoxgVSH3a t/rErvRcxjgJzSyO7Y7ndoPCtxXXbjFvhv0AcbW3874kUy2GIqWWB7mV1luf54logDAPA tKFxBzzXKOwRkesSbt+yX7JZLYhxbhpYYqdemmWAuVQ9deosyXNWvkACqGI455XNuVRBM +5MZmc5xZwQoqFJ4KvCDOgzyDrDWFv3E0mYKic6COZc76ohy+rv5ZOrq0gAm4M/2fKg== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793339983; h=DMARC-Filter:Received:DKIM-Signature:Received:Received:Received:From: To:Cc:Subject:Date:Message-ID:X-Mailer:MIME-Version: Content-Transfer-Encoding:X-SEG-SpamProfiler-Analysis: X-SEG-SpamProfiler-Score:x-atlnz-ls; bh=bJPDbwmu2n41I3LqblZ3/zd2gnBPm8CP17I0CfwL6dM=; b=PPmkWiKpyrH0l/xqSHxlmeTBm8SabbqZPNvdGlDLN312LYO6PJ5uZNfT3ixOXottLaqe 5g66B3GERvX5kn4N09Q5tuYar3gRRzuaPkOjseU4gYlVmOgOkGFt5bjwuznPkKGx5ETdu mtduxt3vNNJoUPBfg03IJ5wy3zMUo4jUTpoxI/vWtfL7Dy/jKcOQHv45EtKyV/ltwjGQn a1YFwXcwrv166Z937WBto42JgIJ6PU+o30JQOvOe5/c2EBQK5H6pYd8Ndja9Zvmg37qAJ vVLyQxNUE79KJCure1WJRmLHuDQEeZEFz4uDyaFJVJ/6KYj9K6MILlJ3QuuDFyZVYIg== X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=alliedtelesis.co.nz; spf=pass smtp.mailfrom=alliedtelesis.co.nz; dkim=pass header.d=alliedtelesis.co.nz header.i=@alliedtelesis.co.nz header.a=rsa-sha256 header.s=mail181024 header.b=oxoesOKF; arc=none smtp.remote-ip=202.36.163.20 X-Received: from gate2.alliedtelesis.co.nz (gate2.alliedtelesis.co.nz [202.36.163.20]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9B08A606A31A for <netdev@vger.kernel.org>; Fri, 30 Oct 2026 05:59:41 +0000 (UTC) X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 9B08A606A31A X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=alliedtelesis.co.nz X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=alliedtelesis.co.nz X-Received: from svr-chch-seg1.atlnz.lc (mmarshal3.atlnz.lc [10.32.18.43]) (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 gate2.alliedtelesis.co.nz (Postfix) with ESMTPS id E98932C038B; Fri, 30 Oct 2026 18:59:32 +1300 (NZDT) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alliedtelesis.co.nz; s=mail181024; t=1793339972; bh=bJPDbwmu2n41I3LqblZ3/zd2gnBPm8CP17I0CfwL6dM=; h=From:To:Cc:Subject:Date:From; b=oxoesOKFNpzS71UE0bdkH1ejvxLFX1FOzVA3RwI8VKyShzZwNPP1mLFXq8Sm1GUTT cZsQs0lr7zucwidRKs6NpNxmoyh4eENDogyXTAuQ67P0bvvEBu+HhiXdIF15g3kDiG YJRq3P3ocOjo8vt6447pUDNSJyQ+m37pjt/Z9+1YYLSN8OvpLay+Osidtbh7qO370q V1KoJ6P01qxssnlAexdL7jjLb3D6sreRC/rUdDTakiIKPBj7jgvSdf9xhzJfYHGQbb SGjL0QjLF0D0UkxN/h+xqAhjYa4do8Q5KfFcsj8h+NQaDcGimZJXbnhVFnNzG6eLPm x+GJ+JxwSYyLw== X-Received: from pat.atlnz.lc (Not Verified[10.32.16.33]) by svr-chch-seg1.atlnz.lc with Trustwave SEG (v8,2,6,11305) id <B6ae432440000>; Fri, 30 Oct 2026 18:59:32 +1300 X-Received: from angga-dl.ws.atlnz.lc (angga-dl.ws.atlnz.lc [10.33.22.14]) by pat.atlnz.lc (Postfix) with ESMTP id D091313EE2B; Fri, 30 Oct 2026 18:59:32 +1300 (NZDT) X-Received: by angga-dl.ws.atlnz.lc (Postfix, from userid 1025) id CBC55564D90; Fri, 30 Oct 2026 18:59:32 +1300 (NZDT) X-Cc: netdev@vger.kernel.org, linux-kselftest@vger.kernel.org, Hermin Anggawijaya <hermin.anggawijaya@alliedtelesis.co.nz> X-Mailer: git-send-email 2.56.0 X-Mailing-List: netdev@vger.kernel.org X-List-Post: <mailto:netdev@vger.kernel.org> X-List-Help: <mailto:netdev+help@vger.kernel.org> X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org> X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org> X-List-Owner: <mailto:netdev+owner@vger.kernel.org> X-Precedence: list X-SEG-SpamProfiler-Analysis: v=2.4 cv=FJW4xPos c=1 sm=1 tr=0 ts=6ae43244 a=KLBiSEs5mFS1a/PbTCJxuA==:117 a=660iZSQnnn4A:10 a=d57nF5oMqvLz-22E9Z0A:9 a=3ZKOabzyN94A:10 X-SEG-SpamProfiler-Score: 0 x-atlnz-ls: pat