Article View: linux.kernel.netdev
Article #22714Re: [PATCH net-next 00/11] ipv6: validate cached dsts against the netns route generation
From: David Ahern
Date: Wed, 25 Nov 2026 19:22
Date: Wed, 25 Nov 2026 19:22
51 lines
10234 bytes
10234 bytes
On 11/25/26 1:03 AM, Ralf Lici wrote: > I'm not sure what happened here but it seems like you've sent this > series with envelope sender dahern@KCJPDQ2QL4.localdomain. My server > took it with a spam score of 12.9; lore says the message-ids are > unknown, and patchwork doesn't have it (vger very likely rejected it). > So, only the people on Cc have it, and patch 02/11 never reached even my > mailbox. sigh. botched attempt from the corporate laptop. will send the next version from personal laptop. thanks for the heads up. > > On Tue, 24 Nov 2026 17:35:39 -0700, David Ahern <dahern@nvidia.com> wrote: >> rebound under the global fnhe_lock (rt_bind_exception()). Narrowing >> the invalidation back to subtrees would bring back the cookie race >> the series removes. If the exception refresh shows up under churn, a > > That's not the case: my v5 [1] keeps the per-node scope and closes the > race by sampling the node's serial during the lookup. Invalidating the > whole netns is a matter of preference, not a requirement. That comment describes how IPv4 works. Your series is for IPv6; not sure what you mean with your comment. > > [1] https://lore.kernel.org/netdev/cover.1795537128.git.ralf@mandelbit.com/ > >> David Ahern (11): >> ipv6: allocate the exception entry before removing the one it replaces >> ipv6: keep a superseded pcpu dst working until its holders notice >> ipv6: don't insert a PMTU exception whose MTU could not be stored >> ipv6: invalidate the failing dst in ip6_link_failure() >> ipv6: tell route dumps about exception inserts with a table sequence >> ipv6: validate dsts against the netns route generation >> ipv6: make rt_genid_bump_ipv6() a plain counter increment >> nexthop: factor out nh_has_f6i() >> nexthop: bump the IPv6 route generation on group changes >> ipv6: stamp dsts with the generation sampled before the FIB lookup >> selftests: net: pmtu: check that a deleted cached exception stays >> deleted >> > > When you resend, please add Reported-by tags where the series fixes > issues I reported in this thread: the reuse of a rebuilt pcpu dst > (10/11), stale exceptions treated as misses (6/11), superseded pcpu dsts > released with dst_dev_put (2/11) and, if the series addresses it, the > bundle-child release. > Done.
Technical Details
Message-ID:
<d370321b-adbf-4d03-8dec-6644f191fe52@kernel.org>Path:
mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-371617-linux-kernel-netdev=dewy.ruReferences:
<20261125003554.54371-1-dahern@nvidia.com> <20261125080341.57521-1-ralf@mandelbit.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-371617-linux-kernel-netdev=dewy.ru From: dsahern@kernel.org (David Ahern) Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net-next 00/11] ipv6: validate cached dsts against the netns route generation Date: Wed, 25 Nov 2026 12:22:10 -0700 Organization: Usenet Network Message-ID: <d370321b-adbf-4d03-8dec-6644f191fe52@kernel.org> References: <20261125003554.54371-1-dahern@nvidia.com> <20261125080341.57521-1-ralf@mandelbit.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Injection-Info: usenet.network; logging-data="284741"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:vJzn7F798Nn87AvCfImde/sPz0M= sha256:vmqZk2eO11SWbm+6gnHmuoVBSTWn56h10EvBrCxoEa0= sha1:OicE7Ey2jkJV3Rwel6g+qm1eYc4= sha256:L6JFf0/kpFXqV8ykNbD0iKDqmb4xp+utdMr2atyiRW4= Content-Language: en-US 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 654F8125E95; Wed, 25 Nov 2026 22:22:31 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.401 X-Spam-Status: No, score=-3.401 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key) header.d=kernel.org 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 7x7H3sXoFf0O; Wed, 25 Nov 2026 22:22:23 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-371617-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10]) by mail.dewy.ru (Postfix) with ESMTPS id EAEF1125E94; Wed, 25 Nov 2026 22:22:14 +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 83D4137470; Wed, 25 Nov 2026 19:22:13 +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=1795634533; b=fLIuw1rzQdeiyf7ucKhaiyI/a0hR1iG6xqWPAcMHU0zozMSlNXJ/FnlXFd7Xwf42xAoF EGyG/wHnu4W8Tmr1CHHfMyzB7siIgbxN8kTGjtLUOGSwf0QpCI1uLyu41CZdxDBeV2XRG rIZZ0XUneY8/62oQwVilc/081xtXdoh5xLyp7ZvHS4O6XoejEY6JLwaWfai4aZgBzK/HW LYAAlN1YPbbUS9CZPe+vigPR14+sK5SfOVRxfbG+2GMOAIpoLE5+aQ7rJEpVv3DD+GFyC K2e6A5tXGg+MrSz52v0Y/r2KSFOA2GziiaYnIDuMulkt8qQRXDtBau6jr2cMWaqRPQQ== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795634533; h=X-Original-To:Received:Received:DKIM-Signature:Message-ID:Date: X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe: List-Unsubscribe:List-Owner:Precedence:MIME-Version:User-Agent: Subject:Content-Language:To:Cc:References:From:In-Reply-To: Content-Type:Content-Transfer-Encoding; bh=geUaQFRpqPAuDO4Vr6fh2zVBoMc3z8A44xPshriAfj4=; b=K5ETxwVnHlKq4qqpXx67PkIrtNURdh2T7FQWuzimF5zJpj3Xe04QtErjCKC11PXL6Sle gcOVgAhpDeZnSipeohMO9pQel8OTxRkcB1ltWZl+3TtSjSncq90QDN2PaFiVo5Q8oRdvL lIa/FQBB9VCpMSTMUfCix1R+WRULvLmmxzwKae75cYS/aw4tlkpDVrN2c6lddEKYQHwNX uxgxAjDrfx+eVD+FIjmDgifCFSa4hWIAtOnoEKa1wzNJX+2mC1pgWAKFcBT4FZVuQ1fFd Ibp1p4YMsQ3dMb+M9+OX186J2xLVsrWyRXDAA3Vj4KVA3gBcTMCqOHNUwZRmgg/2Zqw== X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=YRyyqXV9; 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 5CA9C606A32C; Wed, 25 Nov 2026 19:22:13 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=YRyyqXV9 X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795634532; b=f0BvkBYFzM1FQBoZ5np7XHAkGuscy2EG7NT8U7Rs/dHU4l/dXyfBk7wFw2PF6Bf3N04p yUIcij650SJORoszn9ZMzmye4E7g03fNW59hctppgp4kMuBD4B4cJ7LtMpLSRlja66kK1 BlhBszbKs5mdSr4LlEn0MpgNOP7qNFyFDHKyvykHduaVl5iOYRD6MvCZV7WckhpzyIbLr +BOdKAtTvT7KrV43si4a7YCn0Pq1etr/9wLvLVKLwhrZZSX46BsjYGfci+wWaEgUAabN0 hmu/W8+ljsTJ8VL5kySdBcbaAUceQSVU2b2JjFcqC2R1TAIQL2l7D+NP0PhjGk71h1Q== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795634532; h=Received:DKIM-Signature:Message-ID:Date:MIME-Version:User-Agent: Subject:Content-Language:To:Cc:References:From:In-Reply-To: Content-Type:Content-Transfer-Encoding; bh=geUaQFRpqPAuDO4Vr6fh2zVBoMc3z8A44xPshriAfj4=; b=Ryxm5BaTy+5JVX/WIPTD+I8zpKVtNkAPHxenS9+N2UXjhw0FiD2E3mnXpE6Dc54yboa6 ZxN80+EMA8/XgC8tzNo0TbXYkIJqst3YYkm1mnQAVNVbWo6sjKjAF8kFS0/0POGJzB6nt /eTXwyk6cm4cR7JmMt4dAmVB0CJa4ichccC7MgBtzeD9C+6dAlt9qQ9bWMu6DTLewFV65 narXf0YYmx5lIULmq+ux6GzobFjT9JmhjR56UmOD4q7Xq3jM1RTF7RWyElDVauSOOaLEC gkk9hqgPlnoncEjcI5wbbb2mOp4IHiqRcos5I6VpKh4sr6PX/z1Bw59TheWTHANuLvw== X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=YRyyqXV9; arc=none smtp.remote-ip=100.103.45.18 X-Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7CAD5606A31E; Wed, 25 Nov 2026 19:22:12 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id D922B1F000CA; Wed, 25 Nov 2026 19:22:11 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1795634532; bh=geUaQFRpqPAuDO4Vr6fh2zVBoMc3z8A44xPshriAfj4=; h=Date:Subject:To:Cc:References:From:In-Reply-To; b=YRyyqXV9x9Xvg7+8xhsWMCN0aGHyznSxnBWJEB0LV9hpi15+oNNwLh6J3wLn6k7lG AssHp+XUi+A0IBv25B4p9QHhxkkiF1lpnkaqyv6guVndevsowOqAvYFWYkUzgdDQTI 4mLln5QoPUqQ/ki9zpLs/d/IkO+Re/ulny8RVQCxpLCkJDE1Pc/lLRjmWVxoY8rPqB aSBQYjhThQJ9ZkQN3InUDJib/ok0BU094ilaFSqxXFg3f2PqL+fnCk+n4mhEjidSP/ N2eyOSSpswQ2OiY75+iCoMnNtJV0Q63E8UjfF0iF8VzvuU+jNAl4OALAAK46OY88+T BsGDrZdeYRX+w== 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-User-Agent: Mozilla Thunderbird X-Cc: netdev@vger.kernel.org, Ido Schimmel <idosch@nvidia.com>, "David S. Miller" <davem@davemloft.net>, Eric Dumazet <edumazet@kernel.org>, Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>, Simon Horman <horms@kernel.org>, Shuah Khan <shuah@kernel.org>, linux-kselftest@vger.kernel.org X-In-Reply-To: <20261125080341.57521-1-ralf@mandelbit.com>