Article View: linux.kernel.netdev
Article #7890Re: [PATCH net 07/10] batman-adv: tt: only transmit local ROAM flag together with DEL
From: Sven Eckelmann
Date: Tue, 27 Oct 2026 12:11
Date: Tue, 27 Oct 2026 12:11
66 lines
10996 bytes
10996 bytes
--nextPart119544528.nniJfEyVGO Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8"; protected-headers="v1" From: Sven Eckelmann <sven@narfation.org> To: sw@simonwunderlich.de, netdev-bot+sashiko@kernel.org Date: Tue, 27 Oct 2026 13:11:30 +0100 Message-ID: <2294364.Icojqenx9y@ripper> In-Reply-To: <179309132249.3134.16887364336514212941@kernel.org> MIME-Version: 1.0 On Tuesday, 27 October 2026 09:55:22 CET netdev-bot+sashiko@kernel.org wrote: > batman-adv: tt: only transmit local ROAM flag together with DEL > > This patch stops local TT entries from sending BATADV_TT_CLIENT_ROAM > unless it comes with BATADV_TT_CLIENT_DEL. The ROAM bit is now cleared > for non-DEL events in __batadv_tt_local_event() and for full table > responses in batadv_tt_local_valid(). The goal is to stop receivers from > treating a plain ADD as a roaming advertisement. [...] > > [Severity: Medium] > > Does this fix the requester-side symptom described in the commit > message? > > The commit message says: > > When the requester is the node which sent the ROAMING_ADV, it then > marks its own (new) local client as roamed back to the old originator > and drops it when it is still NEW. No, this is not the symptom. It is just the way the roaming works. The relevant part is "But such a behavior doesn't make sense for non-ROAM_ADV because a new TTVN [...] should therefore be used to create a temporary (roam) global entry in a node." It is there to announce the "committed" local entries which everyone should use in their global table for this originator. And ADD is therefore required - but not the roaming flag because it would be interpreted as roaming announcement. See also https://www.open-mesh.org/projects/batman-adv/wiki/Client-roaming#Translation-table-consistency There are also pending changes for TT which avoid this odd removal of the ROAMING and flash it out more in the receiver side [1,2,3]. Regards, Sven [1] https://patchwork.open-mesh.org/project/b.a.t.m.a.n./patch/20261008-tt-avoid-unhashed-event-v2-2-7c4eed81606d@narfation.org/ [2] https://patchwork.open-mesh.org/project/b.a.t.m.a.n./patch/20261008-tt-avoid-unhashed-event-v2-3-7c4eed81606d@narfation.org/ [3] https://patchwork.open-mesh.org/project/b.a.t.m.a.n./patch/20261008-tt-avoid-unhashed-event-v2-4-7c4eed81606d@narfation.org/ --nextPart119544528.nniJfEyVGO Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQS81G/PswftH/OW8cVND3cr0xT1ywUCauCU8gAKCRBND3cr0xT1 y9ZtAP0drgonQgtLdtN+ois4rAObGdjhVcdOZRhqLIO/gZ9OcwD/YJbHo4BEByYC 51zGNh19L04Y0SN+ZIeks2+lvDyLtQc= =HsmC -----END PGP SIGNATURE----- --nextPart119544528.nniJfEyVGO--
Technical Details
Message-ID:
<2294364.Icojqenx9y@ripper>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-352412-linux-kernel-netdev=dewy.ruReferences:
<20261026085309.1074911-8-sw@simonwunderlich.de> <179309132249.3134.16887364336514212941@kernel.org>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-352412-linux-kernel-netdev=dewy.ru From: sven@narfation.org (Sven Eckelmann) Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net 07/10] batman-adv: tt: only transmit local ROAM flag together with DEL Date: Tue, 27 Oct 2026 13:11:30 +0100 Organization: Usenet Network Message-ID: <2294364.Icojqenx9y@ripper> References: <20261026085309.1074911-8-sw@simonwunderlich.de> <179309132249.3134.16887364336514212941@kernel.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart119544528.nniJfEyVGO"; micalg="pgp-sha512"; protocol="application/pgp-signature" Injection-Info: usenet.network; logging-data="1531333"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:cXX/pQOC6sMaUvzD76QXnWSJdtQ= sha256:c3jLlT+7XYBocC+7q/5y31w2MemD5P0ik4YQvnu5s14= sha1:YKnGgyByCikFuyjJ9dqtmPAArjE= sha256:6cXM0B6UVECIzDGXP4fNI/dgDVRVIhyb6kT3Hwvg7T8= 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 BEF4A125BF2; Tue, 27 Oct 2026 15:20:13 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.149 X-Spam-Status: No, score=-3.149 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.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 (1024-bit key) header.d=narfation.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 jSLXghNo4ynQ; Tue, 27 Oct 2026 15:20:10 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.232.135.74; helo=sto.lore.kernel.org; envelope-from=netdev+bounces-352412-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=narfation.org X-Received: from sto.lore.kernel.org (sto.lore.kernel.org [172.232.135.74]) by mail.dewy.ru (Postfix) with ESMTPS id 3FF56125BF1; Tue, 27 Oct 2026 15:20:02 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by sto.lore.kernel.org (Postfix) with ESMTP id CB70860A686; Tue, 27 Oct 2026 12:11:57 +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=1793103106; b=aEvItGyaz0SCO+7amMt+h1Usb3EplkMTIAVSVotTv7Pd/SbGuXu5AvDDYjQxTytg53co nsu69KmAkrHzsfvmFEGwQ2jtOcbpGdJY9AzdrUqJlqP9NwHUipo8V8CqVi5dCn8P5rqDg WN0K446ii9tRsLxt2yT1wfOUCoBNPVcr/7lfGqYnFW19cLiDkx8R30hJQaDa+5eAnGuWB +WqjsjUoANyuHplspGIcD0CpmFDHiTImMQaXB52j51KOjuHRNzi7YP4Tx3k3OlwtUkbku gbwBStfMBYt+NXa3pQvsAS3S+iWuIqtUi32DtIhoyMrYFDeD2EwtYOTXxObTIoFUqUA== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793103106; h=X-Original-To:Received:DMARC-Filter:Received:DKIM-Signature:From:To: Cc:Subject:Date:Message-ID:In-Reply-To:References:X-Mailing-List: List-Id:List-Post:List-Help:List-Subscribe:List-Unsubscribe: List-Owner:Precedence:MIME-Version:Content-Type; bh=9RA/xsPWE7iX/5+zhjVd4uSj9i7bQuXj68Gc6UmAfS0=; b=mS+HiFJeP8a2hxjYeEmk16Oo1+2CZWQhBVFZLIkYXpD8ybKbH9m6XEFLroIqHdYhDktx gkMjHFd+INZ8Jva6PU1pnMTHCwA9asPLbLLFJ608WjneBIWpo+nNeh3glMvRxR1kS06iu G2wmvvBCpY9tPZZeCzVChKUTp2tV24A3/vAMJb2IdJfb+rLGFu1/UOWE0d3YlnqVuttTf XPj9OO7zxUQZnQiGSqr/uQqAie7OZXw9dpDq9i9vE0to/nLffDyWVk5Z81VSGJ3vIRsVX MZfSVD3TLKrsEAS95zsJCOcMWJIDmsAqVaw8caemCl9DRk5QlbMEuRUau4cZikEf8wQ== X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dkim=pass header.d=narfation.org header.i=@narfation.org header.a=rsa-sha256 header.s=20121 header.b=BBKHFlx2; dmarc=pass header.from=narfation.org; spf=pass smtp.mailfrom=narfation.org; 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 E1914606A331; Tue, 27 Oct 2026 12:11:45 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=narfation.org header.i=@narfation.org header.a=rsa-sha256 header.s=20121 header.b=BBKHFlx2 X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=213.160.73.56 X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1793103105; b=RB11lItLQK6OKmF9ZqblwBsFV7fsa9thJZTzrOPS8ujTvBJhNbVdL0fZCKLNcNzPIJ9M csIlyNp7Mx4JybglKg6KZbguDABS+BkrSePCT46oMjFdeaJbCLHRe3IQfps9IeV24rAhx R0m8A58dX54GPO2eTJx5WbxV9SoQF2XHnGMnUB5iqkU8VnuY07Ism7VUSzr4gFbFtETgC UHlr1wJAEmocrmllxYaCVHHMYgLNwRlDHG4R9/x9qgjkNyyND5uWx+cmDplS74BJiKxng ww0PCdthke9p4kn/rI4YeqtTls3x/tV7abE5ojGfl4b1lyWZaP6RlQViYRdW6vTgwog== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793103105; h=DMARC-Filter:Received:DKIM-Signature:From:To:Cc:Subject:Date: Message-ID:In-Reply-To:References:MIME-Version:Content-Type; bh=9RA/xsPWE7iX/5+zhjVd4uSj9i7bQuXj68Gc6UmAfS0=; b=nhLEJkl3uRIDgz0x2lzX7jITmsCQk6tWZZde3Qp4O62W7gMTyQXWYwPbV5+i/ZhbcprJ PI3GfNsmp4TwSo/+4pa+O91XKC1dCS5Jjmmmt08N4oJv7aLHoGjJ6gdM6ZSFCrQlxcWLn kezU8gvV07k3mvI6F9d7o6JaxFvLOz1l70+90YbCTspUXUpTZc/k5u+KHQcGTglotmeUU lRG+CwNUi/7GkJndBVLRhFGw7X+aJi4wzHNxPceolWPI4ntdILczClfbWv+rvAond0B4L H5gL5svarkZA3FhG/PaZkunXZCI5V6bAyhnf/JWyYufdNCUooJ6fjQvzNvbvSCTy8TA== X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=narfation.org; spf=pass smtp.mailfrom=narfation.org; dkim=pass header.d=narfation.org header.i=@narfation.org header.a=rsa-sha256 header.s=20121 header.b=BBKHFlx2; arc=none smtp.remote-ip=213.160.73.56 X-Received: from dvalin.narfation.org (dvalin.narfation.org [213.160.73.56]) (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 64F3F606A321 for <netdev@vger.kernel.org>; Tue, 27 Oct 2026 12:11:44 +0000 (UTC) X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 64F3F606A321 X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=narfation.org X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=narfation.org X-Received: by dvalin.narfation.org (Postfix) id 029ED202F3; Tue, 27 Oct 2026 12:11:35 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=narfation.org; s=20121; t=1793103096; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=9RA/xsPWE7iX/5+zhjVd4uSj9i7bQuXj68Gc6UmAfS0=; b=BBKHFlx2Fhz5/44C+m+jbdE9Qglch5ZLWct58ZUG56OfblYF/qENFmpe8EvTsfdrB/apHm ymrq6H1U51xMn+WOe5+VjqWyLHq4z4wKqtSHh/rYqkxjoivPHjxDX2cgbj528d1Ol8IcfD x6kYzYNjogfNz4nlk2DIaXPnj1aDUAc= X-Cc: netdev@vger.kernel.org, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, horms@kernel.org, b.a.t.m.a.n@lists.open-mesh.org, sashiko-bot@kernel.org X-In-Reply-To: <179309132249.3134.16887364336514212941@kernel.org> 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