🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #24474

RE: [PATCH net] tipc: don't update capabilities from duplicate discovery requests

#24474
From: Tung Quang Nguyen
Date: Mon, 30 Nov 2026 08:20
212 lines
26011 bytes
>Subject: [PATCH net] tipc: don't update capabilities from duplicate discovery
>requests
>
>From: Andrew Stellman <astellman@stellman-greene.com>
>
>tipc_node_check_dest() calls tipc_node_create() before it classifies a discovery
>request. For an established node, found by node address or by peer ID,
>tipc_node_create() overwrites the node and link capabilities. A request that is
>then rejected as a duplicate address has already changed them. Because of the
>peer ID lookup, this also happens when the request carries a node address the
>receiver doesn't know.
>
>Look up the node by address or peer ID first, as tipc_node_create() does. For
>an established node, do the peer net update that
>tipc_node_create() did at that point, and call tipc_node_create() only after the
>request is known not to be a duplicate. New and preliminary nodes still go
>through tipc_node_create() first.
>
>Tested on mainline (7cd8495c0f16) in arm64 QEMU with KASAN, replaying
>discovery requests over veth between two network namespaces and logging
>the result with a test-only pr_info. Without this patch, in both of two runs, a
>duplicate with the peer's node address but a new signature and media address
>changed the capabilities from 0xfff to 0x1, and one with an unknown node
>address and the peer's ID changed them to 0x21. With it, both stayed 0xfff in

[sashiko]:
The changelog gives the raw capability values (0xfff to 0x1 and 0x21).
What is the user-visible impact of the overwrite?

>one run. In all three runs, a request with the peer's signature and media
>address still updated them, and a request with a new signature and media
>address sent while the link was down was accepted and set them to 0x1.
>KASAN reported nothing. No selftests were run.
>
>Fixes: 60020e185704 ("tipc: propagate peer node capabilities to socket layer")
>Signed-off-by: Andrew Stellman <astellman@stellman-greene.com>
>---
>The issue was found by Claude Opus 5.5 and Claude Fable 5.2 running Quality
>Playbook, an LLM-driven code review tool:
>https://github.com/andrewstellman/quality-playbook
>The fix was drafted with OpenAI GPT-6 (Codex) and this changelog with Claude
>Opus 5.5, and both were reviewed by me.
>
>A reproducer is available on request.
>
> net/tipc/node.c | 27 +++++++++++++++++++++++++--
> 1 file changed, 25 insertions(+), 2 deletions(-)
>
>diff --git a/net/tipc/node.c b/net/tipc/node.c index
>53b0993c2c2333..f0e3e06ff8c7bf 100644
>--- a/net/tipc/node.c
>+++ b/net/tipc/node.c
>@@ -1176,6 +1176,7 @@ void tipc_node_check_dest(struct net *net, u32
>addr,
> 			  struct tipc_media_addr *maddr,
> 			  bool *respond, bool *dupl_addr)
> {
>+	struct tipc_net *tn = tipc_net(net);
> 	struct tipc_node *n;
> 	struct tipc_link *l;
> 	struct tipc_link_entry *le;
>@@ -1185,6 +1186,7 @@ void tipc_node_check_dest(struct net *net, u32
>addr,
> 	bool link_is_reset = false;
> 	bool accept_addr = false;
> 	bool reset = false;
>+	bool existing;
> 	char *if_name;
> 	unsigned long intv;
> 	u16 session;
>@@ -1192,8 +1194,20 @@ void tipc_node_check_dest(struct net *net, u32
>addr,
> 	*dupl_addr = false;
> 	*respond = false;
>
>-	n = tipc_node_create(net, addr, peer_id, capabilities, hash_mixes,
>-			     false);
>+	spin_lock_bh(&tn->node_list_lock);
>+	n = tipc_node_find(net, addr);
>+	if (!n)
>+		n = tipc_node_find_by_id(net, peer_id);
>+	existing = n && !n->preliminary;
>+	if (existing && (n->peer_hash_mix ^ hash_mixes))
>+		tipc_node_assign_peer_net(n, hash_mixes);

[sashiko]:
Can calling tipc_node_assign_peer_net() here before classifying the request
allow a rejected duplicate discovery message to bind n->peer_net?

If an established remote peer has n->peer_net == NULL and a duplicate node in
a local network namespace uses the same net_id and node_id, a discovery
request from that namespace that is later rejected as *dupl_addr = true will
still set n->peer_net to the local namespace.  Because
tipc_node_assign_peer_net() returns early once n->peer_net is set,
tipc_node_xmit() will divert traffic for the remote peer into that local
namespace via tipc_lxc_xmit().

This also mutates n->peer_net and n->peer_hash_mix under tn->node_list_lock
without n->lock, racing with node_lost_contact() and tipc_node_xmit() which
access those fields under n->lock.

>+	spin_unlock_bh(&tn->node_list_lock);
>+	if (!existing) {
>+		if (n)
>+			tipc_node_put(n);
>+		n = tipc_node_create(net, addr, peer_id, capabilities,
>+				     hash_mixes, false);
>+	}

[sashiko]:
Does open-coding the node lookup and peer_net assignment here duplicate work
on every discovery packet?

When existing is false, tipc_node_create() immediately re-acquires
tn->node_list_lock and repeats tipc_node_find() and the linear
tipc_node_find_by_id() scan of tn->node_list.  When existing is true and the
request is not a duplicate, tipc_node_check_dest() already holds a reference
to n, yet calls tipc_node_create() after tipc_node_write_unlock() even when
n->capabilities == capabilities, repeating the lock acquisition, lookup,
kref get/put, and for_each_net_rcu() scan in tipc_node_assign_peer_net().

> 	if (!n)
> 		return;
>
>@@ -1310,6 +1324,15 @@ void tipc_node_check_dest(struct net *net, u32
>addr,
> 	memcpy(&le->maddr, maddr, sizeof(*maddr));
> exit:
> 	tipc_node_write_unlock(n);
>+	/* Rejected duplicates must not update capabilities. */
>+	if (existing && !*dupl_addr) {
>+		struct tipc_node *updated;
>+
>+		updated = tipc_node_create(net, addr, peer_id, capabilities,
>+					   hash_mixes, false);
>+		if (updated)
>+			tipc_node_put(updated);
>+	}

Can splitting the initial lookup, link setup, and capability update across
separate lock critical sections race with node removal or concurrent
discovery?

CPU0                                  CPU1
tipc_node_check_dest()
  existing = true
  tipc_node_write_lock(n)
  ...
  tipc_node_write_unlock(n)
                                      tipc_node_timeout()
                                        tipc_node_cleanup()
                                          list_del_rcu(&n->list)
                                          hlist_del_rcu(&n->hash)
  tipc_node_create()
    tipc_node_find() -> NULL
    kzalloc_obj(*n, ...)              <-- inserts blank duplicate node

Because tipc_node_check_dest() does not mark n up or refresh n->delete_at,
tipc_node_cleanup() (or tipc_nl_peer_rm()) can remove a down node from
tn->node_list and tn->node_htable after tipc_node_write_unlock(n), causing
the deferred tipc_node_create() call to allocate and insert a new tipc_node
with INVALID_NODE_SIG and no links.
Separately, when existing is false on entry, dropping tn->node_list_lock and
n before calling tipc_node_create() leaves a window where another CPU can
create or promote the node from preliminary to established and bring a link
up; tipc_node_create() then takes its update path and overwrites capabilities
before duplicate detection runs.  And when existing is true,
tipc_link_create() is passed the old n->capabilities under
tipc_node_write_lock(n), exposing the node and new link with stale
n->capabilities and l->peer_caps after tipc_node_write_unlock(n) until
tipc_node_create() re-locks the node.

---
pw-bot: cr

Technical Details
Message-ID: <AM7P189MB113755AA77934424CF54FE01C64E2@AM7P189MB1137.EURP189.PROD.OUTLOOK.COM>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-374003-linux-kernel-netdev=dewy.ru
References: <20261129001748.78733-1-bugs@stellman-greene.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-374003-linux-kernel-netdev=dewy.ru
From: tung.quang.nguyen@est.tech (Tung Quang Nguyen)
Newsgroups: linux.kernel.netdev
Subject: RE: [PATCH net] tipc: don't update capabilities from duplicate
 discovery requests
Date: Mon, 30 Nov 2026 08:20:14 +0000
Organization: Usenet Network
Message-ID: <AM7P189MB113755AA77934424CF54FE01C64E2@AM7P189MB1137.EURP189.PROD.OUTLOOK.COM>
References: <20261129001748.78733-1-bugs@stellman-greene.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Injection-Info: usenet.network;
	logging-data="1374498"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:7TH1p2qrOTC29womUq9dZf2GCD0= sha256:7vUZIgpC1jLRfISvPZ9WIOkm0fM46TUagoE29vCOg2w=
	sha1:3QJ9JkShE3kGgTkICIO/sa9a/H4= sha256:0W4hA3Yrci06IPyxMqawegyNLQUT6fAPYf9xFygbUx0=
Content-Language: en-US
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
	X-MS-Has-Attach
	X-MS-TNEF-Correlator
	msip_labels
X-Received: from localhost (localhost [127.0.0.1])
	by mail.dewy.ru (Postfix) with ESMTP id 2FFEC125FCB; Mon, 30 Nov 2026 11:20:36 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.151
X-Spam-Status: No, score=-3.151 tagged_above=-9999 required=6.31
	tests=[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=est.tech
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 awpvl_MXsd-r;
	Mon, 30 Nov 2026 11:20:32 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-374003-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=none (p=none dis=none) header.from=est.tech
X-Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114])
	by mail.dewy.ru (Postfix) with ESMTPS id 29014125FCC; Mon, 30 Nov 2026 11:20:23 +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 91D0C251D0; Mon, 30 Nov 2026 08:20:21 +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=3; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1796026820;
	b=4czEk1PLR3Fq5PyBQB6rnk2gn5acWvmyOBKtnmBlYS0e5trb3zdtxRMjjIdfTFRxNJY1
	 HrNmEsIKcFa/ELf0BFo1rn+Eb5BVVpszkOtM6Oa+2ejqyPIprRw2bTsng+RsPOs5p7OvB
	 LIeuhEkDj2OoYRTyxtVpBkxT2b4Ntn7P6ObsreLmwFS6GJE7skVX87QEXuoHlFVpcLDHc
	 ZuKVXpKzmT/DZAdsARdPysimkErgMQB9aLt4hPTcwp2b/99Oc5ggEaDNmbYTcqwPgHteh
	 /5wcWxULOwNjGJUHOnGNkK2loN0NLLxRNmox3+Uq36Iewd3p94ZN7mrlEHn9azN9CEQ==
X-ARC-Message-Signature: i=3; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1796026820;
	h=X-Original-To:Received:DMARC-Filter:DKIM-Signature:Received:Received:
	 From:To:CC:Subject:Thread-Topic:Thread-Index:Date:Message-ID:
	 References:In-Reply-To:Accept-Language:Content-Language:
	 X-MS-Has-Attach:X-MS-TNEF-Correlator:msip_labels:
	 x-ms-publictraffictype:x-ms-traffictypediagnostic:
	 x-ms-office365-filtering-correlation-id:x-ms-exchange-senderadcheck:
	 x-ms-exchange-antispam-relay:x-microsoft-antispam:
	 x-microsoft-antispam-message-info:x-forefront-antispam-report:
	 x-ms-exchange-antispam-messagedata-chunkcount:
	 x-ms-exchange-antispam-messagedata-0:
	 x-ms-exchange-antispam-messagedata-1:Content-Type:
	 Content-Transfer-Encoding:X-Mailing-List:List-Id:List-Post:List-Help:
	 List-Subscribe:List-Unsubscribe:List-Owner:Precedence:MIME-Version:
	 X-OriginatorOrg:X-MS-Exchange-CrossTenant-AuthAs:
	 X-MS-Exchange-CrossTenant-AuthSource:
	 X-MS-Exchange-CrossTenant-Network-Message-Id:
	 X-MS-Exchange-CrossTenant-originalarrivaltime:
	 X-MS-Exchange-CrossTenant-fromentityheader:
	 X-MS-Exchange-CrossTenant-id:X-MS-Exchange-CrossTenant-mailboxtype:
	 X-MS-Exchange-CrossTenant-userprincipalname:
	 X-MS-Exchange-Transport-CrossTenantHeadersStamped;
	bh=+5wsM8EQ9mVAYq1GE9b3rdKFnizn7wdBaVnzVhOahWw=;
	b=4elwOvrkIjeNYT0QqOs6WWgpAlO27PO+NZNcTRQsZdXnnXMjWDjTIALFSk8vN4ICWAlL
	 WR4fxLnZr2nQz5N1mL1DcjuGLYUWq+V+X3wsqv0sqYNDjjaoQ52uwudBG68sIN0/uNNXd
	 cx+t63t5g1V/griCJhHCATUSbLRTp1PvrHq5IfT6f4jfi+LjCn+LiG9VBNozMHDpp8f8R
	 rX6emii0QAufKTCuy0/WXHJ1BytP4Cn7VhHxMgaFtLtoTuB4hJVKMGb/qFdQLHvcNvraO
	 pKja+w/MFVmMmGJ2qadFJv8d+DcoG/Cl3SD2ikJ80RyHoYw74T3ACfT6W7quP3m7uqA==
X-ARC-Authentication-Results: i=3; smtp.subspace.kernel.org; 
	dkim=pass header.d=est.tech header.i=@est.tech header.a=rsa-sha256 header.s=selector1 header.b=tvz2VIBK;
	dmarc=none header.from=est.tech;
	spf=pass smtp.mailfrom=est.tech;
	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 28768606A6B4;
	Mon, 30 Nov 2026 08:20:20 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key, unprotected) header.d=est.tech header.i=@est.tech header.a=rsa-sha256 header.s=selector1 header.b=tvz2VIBK
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=52.101.84.47
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1796026819;
	b=PCUldiPuE/g33+vPg4HRfTPaLcDhk/JnRUCgkrBE7t/8GhBBUTZ/yOUFtMaAew7xciQ0
	 F3cQfdjAn2QVsF+wOb7PKAWFmDKGC4x+J+onnqvT3fyFHz2MdDHTuTzAJQ8kanhckEuva
	 k1ZmQEHLGaUNC7Cbg6nnMm1gSd7f0Wt2Z5NrubJ0WVSYTs+I9VBRySo37HBu9McHRI3wm
	 viSSEUSKxR1FSWLTyCSQCeMvnZoUqk7eWgwuF/mC6w7EisdmdqaCaFAxUFYSnxxdqCdjZ
	 AmFELwrGeGGczqnre29d6FSRsOfAloF3EezTSQXUxuBhw7OnbueUqbFGVLgyWEq0ArA==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1796026819;
	h=DMARC-Filter:DKIM-Signature:Received:Received:From:To:CC:Subject:
	 Thread-Topic:Thread-Index:Date:Message-ID:References:In-Reply-To:
	 Accept-Language:Content-Language:X-MS-Has-Attach:X-MS-TNEF-Correlator:
	 msip_labels:x-ms-publictraffictype:x-ms-traffictypediagnostic:
	 x-ms-office365-filtering-correlation-id:x-ms-exchange-senderadcheck:
	 x-ms-exchange-antispam-relay:x-microsoft-antispam:
	 x-microsoft-antispam-message-info:x-forefront-antispam-report:
	 x-ms-exchange-antispam-messagedata-chunkcount:
	 x-ms-exchange-antispam-messagedata-0:
	 x-ms-exchange-antispam-messagedata-1:Content-Type:
	 Content-Transfer-Encoding:MIME-Version:X-OriginatorOrg:
	 X-MS-Exchange-CrossTenant-AuthAs:X-MS-Exchange-CrossTenant-AuthSource:
	 X-MS-Exchange-CrossTenant-Network-Message-Id:
	 X-MS-Exchange-CrossTenant-originalarrivaltime:
	 X-MS-Exchange-CrossTenant-fromentityheader:
	 X-MS-Exchange-CrossTenant-id:X-MS-Exchange-CrossTenant-mailboxtype:
	 X-MS-Exchange-CrossTenant-userprincipalname:
	 X-MS-Exchange-Transport-CrossTenantHeadersStamped;
	bh=+5wsM8EQ9mVAYq1GE9b3rdKFnizn7wdBaVnzVhOahWw=;
	b=Bh4luOtiPafGZiuocj8ym6iRzR3UwJoZFoAPpVGzzV7euRuEgUX8x+q4cwK2IPFrNWBK
	 JXCciHcMVTOPVX8ucjpQ3lVXqq4p05kuvd95WK7xLsg51LHPxUsaXFcWoLKP10ISNcc0+
	 Rn2aJVDznbuzVHhImpgPl97cNG8OnvBDpRHeJIK0q9V6STEJQOvkaVVKHES1a7RQg38kj
	 saRf/BTbKDrS9kghY1N5In/nZWiNidrgrS9aPyyXCNYdsSi1cJcPPfNyrC51BCqdi0gBJ
	 5nsw/z3yApzcI5xuv2Dy57nRjZxoUvJ8pgSs9o4kzL/akc4K5AkMpNS4xLrWMNLe1fA==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dmarc=none header.from=est.tech;
	spf=pass smtp.mailfrom=est.tech;
	dkim=pass header.d=est.tech header.i=@est.tech header.a=rsa-sha256 header.s=selector1 header.b=tvz2VIBK;
	arc=pass header.oldest-pass=0 smtp.remote-ip=52.101.84.47
X-Received: from DB3PR0202CU003.outbound.protection.outlook.com (mail-northeuropeazon11010047.outbound.protection.outlook.com [52.101.84.47])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange ECDHE (secp384r1) server-signature ECDSA (prime256v1) server-digest SHA256)
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id B5F9B606A687;
	Mon, 30 Nov 2026 08:20:17 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org B5F9B606A687
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=est.tech
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=est.tech
X-ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none;
 b=EnGuLke7nq/Bxv3q+Yv4m0Y8Nsu98QVnxDl4xvok5GNFVa6WvFH5w/SpYnkw7f1gVXq2Viyz4JZyZci+LiCohph6NAvgqrvpxVIUe+Bv5HJiysNV+QMYkNb2fAHesCpLeeopAfSX/icDH+001PmK/+z6BGEWh9oYBfR0bfqP3ciKPXEAfiOxdiLd+mRISwFotVRmZiJjx7rnMWy0ogHfvmN9+y73uYrnoitU6YGzAtqeVUVMWvJmvQmcFwwgWrTCDvKwvtwZlVjgPOqEbz5R7+gnrm5BBuLtkSEEnQBHKKkuFqbYnQR7az1MifkryP9ZKkAp6OYAAnXJ4KtqxdRyZQ==
X-ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;
 s=arcselector10001;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1;
 bh=+5wsM8EQ9mVAYq1GE9b3rdKFnizn7wdBaVnzVhOahWw=;
 b=UWCwAkPXre9qQptg1KdC2dzTujhVbfgnbnNRzyAdwG3HgcvidGsu+7cD5TGpDVqGtObpDP80vQ2c5insUUj5sitUWagoBdy7ZbCx8ttnpsU4/cU3ClbTaP1GgPEHO1Orvg+REFpdwFPUZBMpxU28B5EyBYh39XxCdin1IggPOTy0Y78roOEyPu2LT2uNzcXr715hKon5CEzgznNCeHl5Nucwjigp6HAsxov9KBJNzXN4LNHVcMuJerrzql1Eood197rx+Gy9sAL+jePoF25IoiOpgOr3TXxQP/iM1GnjIwzzrFFpB4ZJ5+t3yEiqXWNUqG4RWybca7Z4vJdINvvF8Q==
X-ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass
 smtp.mailfrom=est.tech; dmarc=pass action=none header.from=est.tech;
 dkim=pass header.d=est.tech; arc=none
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=est.tech; s=selector1;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
 bh=+5wsM8EQ9mVAYq1GE9b3rdKFnizn7wdBaVnzVhOahWw=;
 b=tvz2VIBKbJxcq1/Q2zbvWn6alKOcPD/FOHcgfc5bMnaLUApR33rru3wtn0mVWNZET+kWjNOCdPjGW63/fr8Lbd5Z68xCiBxp7J2/xq3mGsZL/D0pUCRaRh57Dzp+MoQtG1xm+cBDr9IWH3LD7jspyHgC8UOKveCq5KpYoRtB6c3wsvEXgPV/2XmdivvwKCgYdUDci37rUHlZivgSTQlEd3tg7pxVxgSQIu+UL08I8n1YlLn9fGzzS5J07nms2RR3pLt7fTo1RaW/9i/btZCIDU9aSUKrKAivY1hs6WBcGogw3xto+EZaofrJC6LsnxiwtkXdFNqCiTT4NXvUl9tBEQ==
X-Received: from AM7P189MB1137.EURP189.PROD.OUTLOOK.COM (2603:10a6:20b:17e::23)
 by AM7P189MB0791.EURP189.PROD.OUTLOOK.COM (2603:10a6:20b:11d::14) with
 Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.662.13; Mon, 30 Nov
 2026 08:20:14 +0000
X-Received: from AM7P189MB1137.EURP189.PROD.OUTLOOK.COM
 ([fe80::86f0:8ce1:a437:b2d5]) by AM7P189MB1137.EURP189.PROD.OUTLOOK.COM
 ([fe80::86f0:8ce1:a437:b2d5%6]) with mapi id 15.21.0662.007; Mon, 30 Nov 2026
 08:20:14 +0000
X-CC: "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>,
	"netdev@vger.kernel.org" <netdev@vger.kernel.org>,
	"tipc-discussion@lists.sourceforge.net"
	<tipc-discussion@lists.sourceforge.net>, "linux-kernel@vger.kernel.org"
	<linux-kernel@vger.kernel.org>, Jon Maloy <jmaloy@redhat.com>
X-Thread-Topic: [PATCH net] tipc: don't update capabilities from duplicate
 discovery requests
X-Thread-Index: AQHdf5cU4OOIeh638EGSHYOOMTvkbrdGQy4w
X-In-Reply-To: <20261129001748.78733-1-bugs@stellman-greene.com>
X-Accept-Language: en-US
X-authentication-results: mx.microsoft.com 1; dkim=none (message not signed)
 header.d=none;dmarc=none action=none header.from=est.tech;
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: AM7P189MB1137:EE_|AM7P189MB0791:EE_
x-ms-office365-filtering-correlation-id: 5faee729-5cf3-480d-499e-08df4ebac257
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam:  BCL:0;ARA:13230040|366016|1800799024|23010399003|10070799003|376014|7416014|38070700021|10067099003|56012099006|261028144727099003|261026140227099003|261026130827099003|261026121527099003|261026135527099003|261022115727099003|261021135927099003|261021133027099003|261021130227099003|261021123027099003|261021121427099003|261022113327099003|261022105027099003|261022075727099003|261102123227099003|261009223027099003|18002099003|22082099003|5023799004|11063799006|6133799003;
x-microsoft-antispam-message-info:  xdFuB/QUCDIcWCJ6TdBgMIhg0Hg6w0tZ6VVVvTwqdp++lwrlvp7ecX7ygh/HDWIm2uWqaBCW6E7f+ZuN5Um74xPH776GvxI9vyOXSO6Oq6D+RbuxjybZ1oQVtawQJheGgqY+6pKKobZv62IE9ymzOGA8Mty6dqqL0E166Ap1Y3RNszs9HMZONaC8dULZjQufPsVEP0Lx7xufWt0DxT2Cwk+A69v1lLEC2+Uv3z5xA827kjUKgMg6vsO8MHvRJrnC+vgixGa3YJpi8LCpAolTPjUNeGoL4kVgWRtSIDoO4f6IdcRvb5JTl+ju/2HUYE4Mmjsk4cgcXYi24nYxOSTWndqWbVp8bQycSCgYdFWyxb4Wbtw/RxoaCSMEA/grSJfS8CGXsJNOrhW7aE0RL4VMKxivd96adQVMHpeyKXKoeld3wh1MyNte9aD76dlvUPB+9jZ9rkXpc5rpIyWuPaKR7D6pONKsUWrPIiChqK6puDIELAO+k3+ESRhPkGRvSQZxxj86ASI3MJPS7Pymjt9a514okJRZGTJH1lZei4S71yPUD+od0yJ7mC7hvJNa6dE9qcrXq967I0U4oUel7tFeOjZDWpWxv8vFI9+ik+BraONBns+HUfusCTBVxk5/g91IXLSDmfE4XknvcLFf2uGwvNbvhvoZiRTUSDn8bKkGgOin8+AoNv210xAXNWlHBSmn8XISqUG1AVt0G8kUWp7YhgK8Dv8BfiLmUK3wQSLV61s=
x-forefront-antispam-report:  CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM7P189MB1137.EURP189.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(13230040)(366016)(1800799024)(23010399003)(10070799003)(376014)(7416014)(38070700021)(10067099003)(56012099006)(261028144727099003)(261026140227099003)(261026130827099003)(261026121527099003)(261026135527099003)(261022115727099003)(261021135927099003)(261021133027099003)(261021130227099003)(261021123027099003)(261021121427099003)(261022113327099003)(261022105027099003)(261022075727099003)(261102123227099003)(261009223027099003)(18002099003)(22082099003)(5023799004)(11063799006)(6133799003);DIR:OUT;SFP:1101;
x-ms-exchange-antispam-messagedata-chunkcount: 2
x-ms-exchange-antispam-messagedata-0:  JErJNsQO6ijNII5cQugYIjo+Hh5hPL+cbNB0TSpk4Pt88cH/+H0vjwkaNS1kUjfpNQng703I0xonaZ2SUEqG+54WpixHG4q5zljiTfO9QpenU0xN81Mbw5kORPmfLuSjiimlWPCnqHuigu9GIaQpYI6zJmGBuNJKBCroalFtB/JCN0NclY8Z+D93WGLHQdAtMBbFAXeOAvCEzXYBqJijsNtGgN5IZSmndFbSE8sV3hzXobL5NhaQqy91uZ2jvCwlKHFKrH8LhaT4+m+ji3oFyr4Qx2f3woqDglTcUd4+qmhlsGdb9lnaunhm5jh/7HJgFgUAH9K/OkpsDwkQ2IwqOzec7VMBrcZCHQZe4xeEHnSUty3Vv/6h63/TvaNdUH6k8K8Jk05LFUzgh+mIqEYHyLhoiJHTGU0Soqm46IarGG2RX/IeOVL7fkJCRFC3gYk822ZRUn8vLEZWxOmdr4v7MMRPXYo1soeD5D5aKijreqn/kL3N2OpHURg2HGR5PDOUIww63SDGIV2bcQPldecDCj3YvVJ/KBnKNWzSkOoZOqfRBHXB8bg1TALALd7F0P/YRxpuD7W5abCIUOrLjHpPFuJaLg4msinsJ8e4CQkf3U9mTYHgmRUaQ5RB7wp1xoXghoetZ+5OHCzr2jp46FZAhTjAP2Etpw0FC4gK5nGqoDS+jMysIBn95kzYKfci9Gaaqyf2cEwDk6Xg9y5LrsLeW8lwCpHxTrTnRqEujGe+tTUC2G/nmWF17JhQFLDS4Lq6Q4gbblUvK1BxRXyJjeEAfAPX3oswyNo8q5iSfO8sBBMvnDWqznWtmagl9u4YG6TZbZtr+IsSwJIxJV2PEoKSt9MFDFJBUEpVRXC/2ascbzGl0LkFHtc9IFO8kv5kBHYHc2yJWgceOANtmtXDGXiJ0pJDKAxTcOhQPxDEvxy+JCizVbUm6NWVbMTuTeZb231VSXjMzW42yrGoMFBN5QKbvr0rZJOBmAjYarGOfAsSnO3Amlkp3cDxm4KHdhNWPPQ9fjk5gZC3YJjN3bX9vAEBHDr8yaxltq4qZyms1ujh4Dx8sAD6Lddo51FDohtlFEY9ZpvmjEq0yfroUiNKOx+j815f6xEEDy2gnkH+Xx6W4Yuvt3I/8fJUBz/lTdQfyvlS67O4YlrQYwpr9f+3+sRxSQUk0halj3PgOvdUSrpP7Lwc8Uo//Ll9Oq8dpG4hLSlUACH121K1rb7frI6m1VUKPA/gH+qLRz1J19aEHpOvMiy7jHOd8/uBDUMyZNEeBmLWS+JkRFEkX6D8OhKrk7AvLiEBuDK19+nbtbNsKaLmQQH2TO/jQaLwopbSsqH0goP0qIN3hnt++CYrsgSrWMgJ81RDS627Gen6fUy/ImtemJWuFi344wZW5JjkVjJ+vBvDre7d33oPyakEzRw/4ALAV/lW9Hl3MGWvfI252N1jvLtlmuQxmbYyYu8wKB1X+EOgqd47ozDsUEZBnQNWZjeqdp/mrDwfEhHRxOsPRYqWzbmypCOSi0fgm23Ylir/Wr30lY7edMJg2hfZ7O/QZuXgthdeARd+HLUmAP8rzoDaWlj3XL9n0gx1qZLsJZmKtLAi8/8T928/SiYsdWpM0k4r5RpTCwELXFODVlfHVtyLDM5BcZoO5WsQUflhDHsjoexUDlxIdne33SFc0x5TJKhcq0kMEj20cPCpl7ovqb7ul677fgXCXVBFQdcOguc5OTtOfKGVaKFMueoNhVPl1LCCmQiAhjSCHRqWvI5ZnEDPUICQYGMNLE4Wg8Lbs8L/yxoUcgtl+3ER
x-ms-exchange-antispam-messagedata-1: Ou4jFxh/EG3Djg==
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-OriginatorOrg: est.tech
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: AM7P189MB1137.EURP189.PROD.OUTLOOK.COM
X-MS-Exchange-CrossTenant-Network-Message-Id: 5faee729-5cf3-480d-499e-08df4ebac257
X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Nov 2026 08:20:14.1207
 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: d2585e63-66b9-44b6-a76e-4f4b217d97fd
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: ZoI0WRy3aOTMaprJdwV/Wa+BTrP08yXYHCjwxIrGXZf2ojNi5c9rf7yNIVAjksV9/W+9+LPc5VRb5mQWKCUht3PDoti73De1qZKgqg73oy4=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM7P189MB0791