🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #14492

[PATCH net-next 00/15] pull request for net-next: batman-adv 2026-11-11

#14492
From: Simon Wunderlich
Date: Wed, 11 Nov 2026 10:27
91 lines
12626 bytes
Dear net maintainers,

here is a cleanup pull request of batman-adv to go into net-next.

Please pull or let me know of any problem!

Thank you,
      Simon

The following changes since commit a137095419b4be0b204a11af4f1cea872ea262e9:

  batman-adv: tt: limit local table to single TVLV response size (2026-10-30 10:11:27 +0100)

are available in the Git repository at:

  https://git.open-mesh.org/batadv.git tags/batadv-next-pullrequest-20261111

for you to fetch changes up to d5c0415dfb58b646696292a7af3d084200933f84:

  batman-adv: mcast: document the value stored in is_routable (2026-10-31 23:04:11 +0100)

----------------------------------------------------------------
This cleanup patchset includes the following patches:

- mcast: explicitly initialize mcast.*_want_all_rtr{4,6),
  by Sven Eckelmann (2 patches)

- uapi: add note/clarification on access of reserved bytes/bits,
  by Linus Lüssing

The remaining patches are authored by Sven Eckelmann:

- avoid torn u64 counter reads on 32-bit systems

- bat_v: initialize last_unicast_tx on neighbor creation

- anotate various timestamps with READ/WRITE_ONCE (6 patches)

- use matching return types for bool and void functions

- mark read-only MAC address parameters as const

- use bool for boolean flags

- mcast: document the value stored in is_routable

----------------------------------------------------------------
Linus Lüssing (1):
      batman-adv: uapi: add note/clarification on access of reserved bytes/bits

Sven Eckelmann (14):
      batman-adv: mcast: explicitly initialize mcast.num_want_all_rtr{4,6)
      batman-adv: mcast: explicitly initialize mcast.want_all_rtr{4,6}_list
      batman-adv: avoid torn u64 counter reads on 32-bit systems
      batman-adv: bat_v: initialize last_unicast_tx on neighbor creation
      batman-adv: dat: annotate last_update with READ/WRITE_ONCE
      batman-adv: bla: avoid negative reported BATADV_ATTR_LAST_SEEN_MSECS
      batman-adv: tt: annotate last_seen with READ/WRITE_ONCE
      batman-adv: annotate originator last_seen with READ/WRITE_ONCE
      batman-adv: annotate neigh_node last_seen with READ/WRITE_ONCE
      batman-adv: annotate hardif_neigh_node last_seen with READ/WRITE_ONCE
      batman-adv: use matching return types for bool and void functions
      batman-adv: mark read-only MAC address parameters as const
      batman-adv: use bool for boolean flags
      batman-adv: mcast: document the value stored in is_routable

 include/uapi/linux/batadv_packet.h     | 28 +++++++++++++++---------
 net/batman-adv/bat_iv_ogm.c            | 34 ++++++++++++++++-------------
 net/batman-adv/bat_v.c                 |  9 ++++++--
 net/batman-adv/bat_v_elp.c             |  8 ++++---
 net/batman-adv/bat_v_ogm.c             |  7 +++---
 net/batman-adv/bridge_loop_avoidance.c | 21 ++++++++++--------
 net/batman-adv/bridge_loop_avoidance.h | 11 +++++-----
 net/batman-adv/distributed-arp-table.c | 19 +++++++++-------
 net/batman-adv/distributed-arp-table.h |  3 +--
 net/batman-adv/hard-interface.c        |  2 +-
 net/batman-adv/hard-interface.h        |  2 +-
 net/batman-adv/main.c                  |  2 ++
 net/batman-adv/main.h                  | 15 +++++++++++--
 net/batman-adv/mesh-interface.c        | 25 +++++++++++++++++----
 net/batman-adv/multicast.c             | 18 +++++++++------
 net/batman-adv/multicast.h             |  3 +--
 net/batman-adv/multicast_forw.c        | 27 +++++++++++++----------
 net/batman-adv/originator.c            | 16 ++++++++------
 net/batman-adv/originator.h            |  2 +-
 net/batman-adv/routing.c               |  4 ++--
 net/batman-adv/translation-table.c     | 40 +++++++++++++++++++---------------
 net/batman-adv/translation-table.h     |  8 +++----
 net/batman-adv/types.h                 | 23 ++++++++++++++-----
 23 files changed, 204 insertions(+), 123 deletions(-)
Technical Details
Message-ID: <20261111102729.2096241-1-sw@simonwunderlich.de>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!nntp.comgw.net!eternal-september.org!feeder.eternal-september.org!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-360990-linux-kernel-netdev=dewy.ru

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!nntp.comgw.net!eternal-september.org!feeder.eternal-september.org!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-360990-linux-kernel-netdev=dewy.ru
From: sw@simonwunderlich.de (Simon Wunderlich)
Newsgroups: linux.kernel.netdev
Subject: [PATCH net-next 00/15] pull request for net-next: batman-adv 2026-11-11
Date: Wed, 11 Nov 2026 11:27:14 +0100
Organization: Usenet Network
Message-ID: <20261111102729.2096241-1-sw@simonwunderlich.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="829800"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:Hn5llq0iM+fcT8asojTeepojs/A= sha256:IrQsSJP1Gy9mvizKdQruXyMBl3lCrb0ur+7B9CZI5aY=
	sha1:wozuCWmFLyEjNKCPx3q+hPxZJC4= sha256:DI9y3LUgpeiI3vbL2vIEMeeZtRuQHDm7fhv0DVZ5vBU=
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 DB03E113EA3; Wed, 11 Nov 2026 13:28:19 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.05
X-Spam-Status: No, score=-3.05 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, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
	header.d=simonwunderlich.de
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 q_KVc7f9QrVm;
	Wed, 11 Nov 2026 13:28:16 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-360990-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=simonwunderlich.de
X-Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114])
	by mail.dewy.ru (Postfix) with ESMTPS id DE5AA113EA1; Wed, 11 Nov 2026 13:28:07 +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 186EE3D5C0; Wed, 11 Nov 2026 10:27: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=1794392861;
	b=WIQooyDjpDk9P83naRdNJ5LlJgXTsub+7ghegQQdv70yw3dTSS6xppOWOqGsmZin/8i5
	 bnP0mxsOWONlCoT3TWREH0qpkM062ZSn4rbQo4cPMNKqzdU4joupj/T9a3PMSeSKh3Yuc
	 vfX6gP69tbeNoXsOP/j5FvxfGVfOR65zXY5zDqQMrj3NMn0toeQxEFgNuSSGEKOLN8Mr0
	 QOG1KN5gsUsEg6DaGP49SkMjsYDT87zg/SqMQT/cbKBZm9S9rFFCdIdvvdtdFobt8ryKF
	 erpQl9P7SnMZTh7lm0p1IhlC8tOdvsasAbuG0iKvxxJtbGl7e/eTYGx7XDNOtwiPeNg==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794392861;
	h=X-Original-To:Received:DMARC-Filter:Received:DKIM-Signature: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-Type:Content-Transfer-Encoding;
	bh=9zDl0MYB7shvzk9kMl26C8GZ3AJOuHtU2CyfGNendrY=;
	b=fj1d71xoHTbcx0ty2VRzIOavryL/Dq4AT7sc3Ptyu7OKGEWIzvzJa4aicr71M0vcxiC0
	 v4hTgVPlN6GsyrRqcLZacNK7AoLGdHfCoNC4LZazEFDemwaG+bTH+c61x9WAqUA1l8Q5S
	 9A1jkCP/DC9ZaEGNyaefoDXD3WZklkwjyvc9sxWrMaVmH7EkMwCTuQzEyevLfbRNVcB1I
	 vPQGn2xfGy2RoioaSAcahSXdfsdp0f6whFUzJAAYJXqAC7iocSFWWmi6oVAWZFBJtHhUJ
	 WFzSEHTZ9d82+yDxA0cDZ6uSztI+W6mY+KC1gXxUIBrHaNxYF5b7/fsA7IYGSk0iqsQ==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=simonwunderlich.de header.i=@simonwunderlich.de header.a=rsa-sha256 header.s=09092022 header.b=BCqBGyo6;
	dmarc=pass header.from=simonwunderlich.de;
	spf=pass smtp.mailfrom=simonwunderlich.de;
	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 1F758606A33C;
	Wed, 11 Nov 2026 10:27:41 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=simonwunderlich.de header.i=@simonwunderlich.de header.a=rsa-sha256 header.s=09092022 header.b=BCqBGyo6
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=23.88.38.48
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1794392860;
	b=4SF9ZjzviJL+MNCZ+aNGpUO0Bi4K5nPFFaQTDXj5Rh1LbHvio3vPcW+qY69LgTumDKvR
	 GMvZMfg/RsWZbeGRD+ysz9T/n8gXQLdYQSrQe7MhQMMaG/w6HiEkcF3ACRws6mL9GLpPd
	 8p4P9d2Z+TPSNn4eNoMAoGuCSfsG0aEd9FPfqTE4w13wtTdZM3ZwmnFfLTmDRWzZu/JOn
	 7A8iB2Vh/243c+nDpV0NGNA8t86lLke0AxLZA8zHnGoq7tc362miwdVtZwc1peNfkYPPK
	 ITxLXPrANrgozVCIJEAV9VvyokQswS8vZyFDAi1YJdg/k4nXaZfmtRCPgiZQpKKq+1g==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794392860;
	h=DMARC-Filter:Received:DKIM-Signature:From:To:Cc:Subject:Date:
	 Message-ID:X-Mailer:MIME-Version:Content-Type:
	 Content-Transfer-Encoding;
	bh=9zDl0MYB7shvzk9kMl26C8GZ3AJOuHtU2CyfGNendrY=;
	b=lLbs8KJOofyJZEvmNs3C83/LplqbDkHEa2ccny+FH4C4Qa4XRky367KQioF81noYH9zw
	 vr1CcuDKBfCBfooz/WjWsQHjnLBul/AkO0jeNQJoq2HGzruMpDOZrDgqpXHngL9FwxGw5
	 V5xnUnG3pxC17KMR9kGp9MOa2e/AeulDb/wVRtWBJayLrthvhwPEohhOTUe5GgKEMfj9J
	 ty8RmvAumH/RGoYG2vnWN2swwUPf03MrCLH+IrW+Lu63O4agHHs4op2ptLf/dA+HVL43q
	 eTAoPE/k7HbyBjx+9KMchlZfogsnnwN1OdMSj/4p6R+SKLtErGrEFqb0IeW+zcv0Ifw==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dmarc=pass header.from=simonwunderlich.de;
	spf=pass smtp.mailfrom=simonwunderlich.de;
	dkim=pass header.d=simonwunderlich.de header.i=@simonwunderlich.de header.a=rsa-sha256 header.s=09092022 header.b=BCqBGyo6;
	arc=none smtp.remote-ip=23.88.38.48
X-Received: from mail.simonwunderlich.de (mail.simonwunderlich.de [23.88.38.48])
	(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 UTF8SMTPS id B1F29606A321
	for <netdev@vger.kernel.org>; Wed, 11 Nov 2026 10:27:38 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org B1F29606A321
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=simonwunderlich.de
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=simonwunderlich.de
X-Received: from kero.packetmixer.de (p200300C59740ded843Be7e4a980e9C65.dip0.t-ipconnect.de [IPv6:2003:c5:9740:ded8:43be:7e4a:980e:9c65])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange secp256r1 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by mail.simonwunderlich.de (Postfix) with UTF8SMTPSA id 0D5CAFA0B2;
	Wed, 11 Nov 2026 11:27:31 +0100 (CET)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=simonwunderlich.de;
	s=09092022; t=1794392851;
	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:
	 content-transfer-encoding:content-transfer-encoding;
	bh=9zDl0MYB7shvzk9kMl26C8GZ3AJOuHtU2CyfGNendrY=;
	b=BCqBGyo69nMId0eBy5Bw+r4uziUIL5lbxHM8MBaJGIxAw4NglIPDOvTb4DuOg21dO7NigJ
	RkYGx8R5wWpqlrBx2YTyUEf04eYBXz9lvOjn4BEeesZo9PraxG2OWTYo3IesEAiVHuFv+w
	HHulqKhdSejJWnonZ14MDeeOqU6tu3oWBsKgKEkUbnw9B3EfLVhR1SuJNg0/tVwMu4sfQ6
	5AWn3PFazdlf0N+bEk922T8IFY+QxguY54gKQ30EXSqfEgEVfTnl/7qCkCfjd2pOH/0qtO
	Qwd/WjK+wU1aLIGaTscgsnbAQjGFwDR3GEcMsNNJy58iu0pwujnrznbiCnA+yQ==
X-Cc: "David S. Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@google.com>,
	Jakub Kicinski <kuba@kernel.org>,
	Paolo Abeni <pabeni@redhat.com>,
	Simon Horman <horms@kernel.org>,
	b.a.t.m.a.n@lists.open-mesh.org,
	Simon Wunderlich <sw@simonwunderlich.de>
X-Mailer: git-send-email 2.47.3
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