Article View: linux.kernel.netdev
Article #22375Re: [PATCH net-next 00/11] ipv6: validate cached dsts against the netns route generation
From: Ralf Lici
Date: Wed, 25 Nov 2026 08:03
Date: Wed, 25 Nov 2026 08:03
43 lines
11009 bytes
11009 bytes
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. 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. [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. -- Ralf Lici Mandelbit Srl
Technical Details
Message-ID:
<20261125080341.57521-1-ralf@mandelbit.com>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-371120-linux-kernel-netdev=dewy.ruReferences:
<20261125003554.54371-1-dahern@nvidia.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-371120-linux-kernel-netdev=dewy.ru From: ralf@mandelbit.com (Ralf Lici) 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 09:03:41 +0100 Organization: Usenet Network Message-ID: <20261125080341.57521-1-ralf@mandelbit.com> References: <20261125003554.54371-1-dahern@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="151249"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:cEDPdmUUZAL5vxvjK/6jLPHGCfM= sha256:7G4i2JzuK/IVEKaVbO3Zw6q8AcQlxn+YZdBfaIWqwxk= sha1:E7Q/HK6zdPJZXXtQm5BVmFQPVMw= sha256:fAZroy3HUGzGYP3kJpja9Nc0g/6ISwMdl7rwrG7wndY= 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 D0CB1125E40; Wed, 25 Nov 2026 11:04:37 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.051 X-Spam-Status: No, score=-3.051 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.249, 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=mandelbit.com 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 vh5yiWf_BAyV; Wed, 25 Nov 2026 11:04:33 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-371120-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=none (p=none dis=none) header.from=mandelbit.com X-Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114]) by mail.dewy.ru (Postfix) with ESMTPS id EFF5D125E3D; Wed, 25 Nov 2026 11:04:13 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by tor.lore.kernel.org (Postfix) with ESMTP id E455E3ACAF; Wed, 25 Nov 2026 08:04:10 +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=1795593849; b=pY9AeoA+whty2AzGSDS3uME47MJmQ3dUkgF9yooKCp3ogtqeCcE0eZLeZvGzg/a2IyD/ gZ3Apu7/iCNtRYUpCL/SL8Q6PAWhp6JQ6twonFG/h+Cu8AdvAwITPCgSX58TXwhVPqR/l 9tgB9oThXcKay3lsm2i/KySM0Q41WyJrB1BKNiETzd9mUjSTmTJgZ4z3E0+57fOKmKyt1 sBD3wSQ0PlyXJnnLRV4RY5r62Fk6BGpDuXxhGU7vYdaL9nw0iBvt/CQkdkxM/0QdUzsmS +LZd+YeWZVfMpj4mgDQkfkahbZahQC2EAoHiofy+1xlB9f5feQqGFh2ssHHjoUzSa6g== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795593849; h=X-Original-To:Received:DMARC-Filter:Received:DKIM-Signature:From:To: Cc:Subject:Date:Message-ID:X-Mailer:In-Reply-To:References: X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe: List-Unsubscribe:List-Owner:Precedence:MIME-Version: Content-Transfer-Encoding:X-Rspamd-Queue-Id; bh=MF+BeYOYB/DDN2WqUgwsfUKlmP3/0fwiowwJ6a2JiFM=; b=31XYT53s3Fg/gcEC4T5scvSe3rFjnTtTGQ/j09BDY25B8xF7MwLcaOKVf/NEQ83VJ8+q 5kJ5MvhqIMhtJiecRmNPxZS6ba+yr8G5gw20dpPD1WRUwixDQEYs4gq7bGJtzSUEgdlJY Y9KefsF+PVEK39uK9SN4ha8fNlHhjZ38bFwRwAyoME57p3z99Kr5QgHFf5WsDMfRgSM9d d2xHlSJ2kxM4Qidd38PfAnM0TmTQ1jH2ghFkofcE7dykJP/RsVhMZu1o6aaMI3+EMRcki hN3MmVPQf/gb/3Jxomj+OF0Vu8p9GgaY/DQpbQQ8tkr5TSeHS73Yyvb8URLNR4or1FQ== X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dkim=pass header.d=mandelbit.com header.i=@mandelbit.com header.a=rsa-sha256 header.s=MBO0001 header.b=vtf9RvK1; dmarc=none header.from=mandelbit.com; spf=pass smtp.mailfrom=mandelbit.com; 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 C2582606A334; Wed, 25 Nov 2026 08:04:09 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=mandelbit.com header.i=@mandelbit.com header.a=rsa-sha256 header.s=MBO0001 header.b=vtf9RvK1 X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=195.10.208.51 X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795593845; b=wYi7z9QM8jftGpKyoTbxsM4x2PRXnIM+8wHonzwPNe3/NGzDKflXMEujpMKqN4pMArYD 7WnE4eTH5uy7N9MNa0t9MxcZKMU8JFZMoZzJEgaK7jFiTx+LVPjy78TeUWU+4T2zV2icg /Z0HbvM9RQhW7lmBMFdQiwLOJa2A6Ulw9ZiPrAgcnozNBnQ37ZKQvyb6WEKKabEXz1gZz 8vHpvX3lC/eQB7TFdgW7m35d1/Gfw/tJxQ+mhOQuNT/paQE/vib/soB7B82iiR5/Bw/52 SaWBeOXFqUiU7chtuR9rJ4XFYa/4fnLLXJDuQumKd3CbFAaOD0MTQMFJxTCebjTkYMg== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795593845; h=DMARC-Filter:Received:DKIM-Signature:From:To:Cc:Subject:Date: Message-ID:X-Mailer:In-Reply-To:References:MIME-Version: Content-Transfer-Encoding:X-Rspamd-Queue-Id; bh=MF+BeYOYB/DDN2WqUgwsfUKlmP3/0fwiowwJ6a2JiFM=; b=F3h4zdyBdQ5unaoIjyaKqe3Ei3ldk9VgE2AWGx0NGFxVgAdF8wofA00rPkYLG4IxL3le J6wJCIO7hlrPdJvizdVjJ1eIuybHhCPi5tZZXBsLMHjs/oUOtTP26siDOit7ns55mjOe8 rwci8frmvayUJH+cuS2s3atC9PlvQqpzqyAEvYzWSSemLJwL+BwHf7RV3bJ/n5xcKT0kI Q1GPyttBcg4oXwvhQW9N39pzA7JZsahr7FlrVxMCjWS1/lrlqUHItcucj5jpm85r7zc1T 4OwJ1QtUpRFw4Lq4jW+SCpYlYudyYyc1OjeRVRZmO2/Mo7SmFHW20W973x6QHciWVHg== X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none header.from=mandelbit.com; spf=pass smtp.mailfrom=mandelbit.com; dkim=pass header.d=mandelbit.com header.i=@mandelbit.com header.a=rsa-sha256 header.s=MBO0001 header.b=vtf9RvK1; arc=none smtp.remote-ip=195.10.208.51 X-Received: from mout-b-206.mailbox.org (mout-b-206.mailbox.org [195.10.208.51]) (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 43FFA606A31E; Wed, 25 Nov 2026 08:04:02 +0000 (UTC) X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 43FFA606A31E X-Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=mandelbit.com X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=mandelbit.com X-Received: from smtp202.mailbox.org (smtp202.mailbox.org [IPv6:2001:67c:2050:b231:465::202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519MLKEM768 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-b-206.mailbox.org (Postfix) with ESMTPS id 4jZByd3kPvzv2; Wed, 25 Nov 2026 09:03:53 +0100 (CET) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mandelbit.com; s=MBO0001; t=1795593837; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=MF+BeYOYB/DDN2WqUgwsfUKlmP3/0fwiowwJ6a2JiFM=; b=vtf9RvK1asx4ncEtiIjWTUSRYEpo+ytI2Va/SmnKkleHvokSqFLNTcmoOX5mpDQIbcxV0P rqGsBIw9mb5sZh+LbSdvwONhnExtYNRyUHWHQVfTBY7ZoXQcG9nyg+SKFptdBoW0tTNUkH oHAjl7383G92v4DcIJ7LPaJb2Q3k6EtdgHQVbNb6UDij7GR9xkmw4aG9b1/PTgxfm/Ucz7 pBFO5amZLmMYhXK12UahyR60tNQ9C+KvEr884HzWSMliJKuMbiMhotcqENSzJZwkb1GF1K LmubKo+WnHos4+jIttgVcK64hu8Mv7m1fedsShtSZbYkcecxTWjPcWXGV4uvUw== X-Authentication-Results: outgoing_mbo_mout; dkim=none; spf=pass (outgoing_mbo_mout: domain of ralf@mandelbit.com designates 2001:67c:2050:b231:465::202 as permitted sender) smtp.mailfrom=ralf@mandelbit.com X-Cc: netdev@vger.kernel.org, David Ahern <dsahern@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-Mailer: git-send-email 2.56.0 X-In-Reply-To: <20261125003554.54371-1-dahern@nvidia.com> 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-Rspamd-Queue-Id: 4jZByd3kPvzv2