Skip to content

pull request for net-next: batman-adv 2026-11-11

Simon Wunderlich batman netdev sashiko-reviews 1 version Applied

Status from this message: This series was applied to netdev/net-next.git (main)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest15 patches 4 repliesApplied 15/15

Patches in v1 All 15 applied

#Subject and filesSizeRepliesApplied
1/15batman-adv: mcast: explicitly initialize mcast.num_want_all_rtr{4,6)net/batman-adv/mesh-interface.c+2 -00 repliesApplied
2/15batman-adv: mcast: explicitly initialize mcast.want_all_rtr{4,6}_listnet/batman-adv/main.c+2 -00 repliesApplied
3/15batman-adv: uapi: add note/clarification on access of reserved bytes/bitsinclude/uapi/linux/batadv_packet.h+18 -100 repliesApplied
4/15batman-adv: avoid torn u64 counter reads on 32-bit systemsnet/batman-adv/main.h net/batman-adv/mesh-interface.c net/batman-adv/types.h+48 -110 repliesApplied
5/15batman-adv: bat_v: initialize last_unicast_tx on neighbor creationnet/batman-adv/bat_v.c+1 -00 repliesApplied
6/15batman-adv: dat: annotate last_update with READ/WRITE_ONCEnet/batman-adv/distributed-arp-table.c+7 -40 repliesApplied
7/15batman-adv: bla: avoid negative reported BATADV_ATTR_LAST_SEEN_MSECSnet/batman-adv/bridge_loop_avoidance.c+3 -10 repliesApplied
8/15batman-adv: tt: annotate last_seen with READ/WRITE_ONCEnet/batman-adv/translation-table.c+10 -52 repliesApplied
9/15batman-adv: annotate originator last_seen with READ/WRITE_ONCEnet/batman-adv/bat_iv_ogm.c net/batman-adv/bat_v.c net/batman-adv/bat_v_ogm.c +1 more+16 -92 repliesApplied
10/15batman-adv: annotate neigh_node last_seen with READ/WRITE_ONCEnet/batman-adv/bat_iv_ogm.c net/batman-adv/bat_v_elp.c net/batman-adv/bat_v_ogm.c +1 more+9 -70 repliesApplied
11/15batman-adv: annotate hardif_neigh_node last_seen with READ/WRITE_ONCEnet/batman-adv/bat_iv_ogm.c net/batman-adv/bat_v.c net/batman-adv/bat_v_elp.c +1 more+9 -50 repliesApplied
12/15batman-adv: use matching return types for bool and void functionsnet/batman-adv/distributed-arp-table.h net/batman-adv/multicast.h net/batman-adv/multicast_forw.c+11 -130 repliesApplied
13/15batman-adv: mark read-only MAC address parameters as constnet/batman-adv/bat_iv_ogm.c net/batman-adv/bat_v_elp.c net/batman-adv/bridge_loop_avoidance.c +10 more+47 -440 repliesApplied
14/15batman-adv: use bool for boolean flagsnet/batman-adv/bat_iv_ogm.c net/batman-adv/routing.c net/batman-adv/types.h+7 -70 repliesApplied
15/15batman-adv: mcast: document the value stored in is_routablenet/batman-adv/multicast.c net/batman-adv/multicast_forw.c+16 -90 repliesApplied

Reviews trailers per patch

3 of 15 patches have a Reviewed-by or Acked-by.

PatchLinus LüssingSven Eckelmann
1/15A-b
2/15A-b
3/15A-b
4/15
5/15
6/15
7/15
8/15
9/15
10/15
11/15
12/15
13/15
14/15
15/15

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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

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(-)