Skip to content

pull request for net-next: batman-adv 2026-07-28

Simon Wunderlich batman netdev stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest15 patches 10 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/15batman-adv: bla: avoid CRC corruption due to parallel claim addnet/batman-adv/bridge_loop_avoidance.c+37 -230 replies
2/15batman-adv: bla: prevent CRC corruptions after claim flushnet/batman-adv/bridge_loop_avoidance.c+0 -50 replies
3/15batman-adv: dat: avoid unaligned fault in IP extractionnet/batman-adv/distributed-arp-table.c+6 -20 replies
4/15batman-adv: dat: atomically update mac addressesnet/batman-adv/distributed-arp-table.c net/batman-adv/types.h+40 -200 replies
5/15batman-adv: fix TX priority extraction for BATADV_FORW_MCASTnet/batman-adv/mesh-interface.c+5 -20 replies
6/15batman-adv: mcast: ensure unshared skb for multicast packetsnet/batman-adv/multicast_forw.c+1 -20 replies
7/15batman-adv: mcast: linearize skbuff for packet generationnet/batman-adv/multicast_forw.c+4 -00 replies
8/15batman-adv: dat: drop non-4addr backwards compatibilitynet/batman-adv/distributed-arp-table.c+3 -110 replies
9/15batman-adv: add missing kernel-doc commentsinclude/uapi/linux/batadv_packet.h net/batman-adv/bat_algo.c net/batman-adv/bat_iv_ogm.c +14 more+711 -350 replies
10/15batman-adv: fix kernel-doc for functions holding skb ownershipnet/batman-adv/routing.c+5 -80 replies
11/15batman-adv: annotate functions which may reallocate the skbuffnet/batman-adv/bridge_loop_avoidance.c net/batman-adv/distributed-arp-table.c net/batman-adv/gateway_client.c +4 more+85 -10 replies
12/15batman-adv: split multiple declarations per linenet/batman-adv/bat_algo.c net/batman-adv/bat_iv_ogm.c net/batman-adv/bat_v.c +17 more+288 -1380 replies
13/15batman-adv: switch var declarations to reverse x-mas tree ordernet/batman-adv/bat_algo.c net/batman-adv/bat_iv_ogm.c net/batman-adv/bat_v.c +21 more+491 -4590 replies
14/15batman-adv: tt: use atomic flag modificationsnet/batman-adv/translation-table.c net/batman-adv/types.h+167 -810 replies
15/15batman-adv: tt: simplify NEW flag transition codenet/batman-adv/translation-table.c+9 -280 replies

Reviews trailers per patch

1 of 15 patches has a Reviewed-by or Acked-by.

PatchAntonio Quartulli
1/15
2/15
3/15
4/15
5/15
6/15
7/15
8/15A-b
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-07-28

Dear net maintainers,

here is a minor bugfix/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 b470fde8f77b56ff273c5527484b99499b894e16:

Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net (2026-07-10 10:20:05 +0200)

are available in the Git repository at:

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

for you to fetch changes up to 6af11807a9e1e9117bfe4865cc9b30935c339cf2:

batman-adv: tt: simplify NEW flag transition code (2026-07-10 22:35:45 +0200)

----------------------------------------------------------------
This minor bugfix/cleanup patchset includes the following patches (all by Sven Eckelmann):

7 minor bugfix patches:

- bla: fix potential CRC corruptions (2 patches)

- dat: avoid unaligned fault in IP extraction

- dat: atomically update mac addresses

- mcast: ensure linearization, TX prio extraction and unshared skbs (3 patches)

8 cleanup patches:

- dat: drop non-4addr backwards compatibility

- improve kernel-doc, add comments and warnings (3 patches)

- coding style: split declarations, reverse x-mas tree (2 patches)

- tt: atomic flag modifications, simplify NEW flag transition (2 patches)

----------------------------------------------------------------
Sven Eckelmann (15):
batman-adv: bla: avoid CRC corruption due to parallel claim add
batman-adv: bla: prevent CRC corruptions after claim flush
batman-adv: dat: avoid unaligned fault in IP extraction
batman-adv: dat: atomically update mac addresses
batman-adv: fix TX priority extraction for BATADV_FORW_MCAST
batman-adv: mcast: ensure unshared skb for multicast packets
batman-adv: mcast: linearize skbuff for packet generation
batman-adv: dat: drop non-4addr backwards compatibility
batman-adv: add missing kernel-doc comments
batman-adv: fix kernel-doc for functions holding skb ownership
batman-adv: annotate functions which may reallocate the skbuff
batman-adv: split multiple declarations per line
batman-adv: switch var declarations to reverse x-mas tree order
batman-adv: tt: use atomic flag modifications
batman-adv: tt: simplify NEW flag transition code

 include/uapi/linux/batadv_packet.h     |  16 +-
 net/batman-adv/bat_algo.c              |  16 +-
 net/batman-adv/bat_iv_ogm.c            | 303 ++++++++++++----
 net/batman-adv/bat_v.c                 |  87 ++++-
 net/batman-adv/bat_v_elp.c             |  19 +-
 net/batman-adv/bat_v_ogm.c             |  34 +-
 net/batman-adv/bitarray.c              |   9 +-
 net/batman-adv/bridge_loop_avoidance.c | 169 +++++----
 net/batman-adv/distributed-arp-table.c | 305 +++++++++++-----
 net/batman-adv/fragmentation.c         |  34 +-
 net/batman-adv/gateway_client.c        |  41 ++-
 net/batman-adv/gateway_common.c        |   6 +-
 net/batman-adv/hard-interface.c        |  94 ++++-
 net/batman-adv/hash.c                  |   5 +-
 net/batman-adv/hash.h                  |  42 ++-
 net/batman-adv/log.h                   |  16 +-
 net/batman-adv/main.c                  |  59 ++-
 net/batman-adv/mesh-interface.c        | 116 ++++--
 net/batman-adv/multicast.c             |  33 +-
 net/batman-adv/multicast_forw.c        |  33 +-
 net/batman-adv/netlink.c               |  14 +-
 net/batman-adv/originator.c            |  64 ++--
 net/batman-adv/routing.c               | 115 ++++--
 net/batman-adv/send.c                  |   7 +-
 net/batman-adv/tp_meter.c              |  41 ++-
 net/batman-adv/translation-table.c     | 637 +++++++++++++++++++++++----------
 net/batman-adv/tvlv.c                  |  24 +-
 net/batman-adv/types.h                 |   8 +-
 28 files changed, 1692 insertions(+), 655 deletions(-)