Skip to content

batctl: random bugfixes 2026-06-21

Sven Eckelmann batman 1 version New

Get series with b4
b4 am [email protected] change-id 20260621-bugfixes-875a8d4d9dbc

Versions newest first

  1. v1 Latest28 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/28batctl: fix parsing of parameters with argumentsbisect_iv.c main.c ping.c +3 more+15 -390 replies
2/28batctl: originators: fix throughput lines with bat_hostsoriginators.c+2 -20 replies
3/28batctl: free header lines after errornetlink.c routing_algo.c+9 -10 replies
4/28batctl: use strict interval/timeout parsingdebug.c+2 -20 replies
5/28batctl: improve number parsing error handlingelp_interval.c functions.c gw_mode.c +4 more+31 -150 replies
6/28batctl: traceroute: handle fast repliestraceroute.c+4 -10 replies
7/28batctl: ping: count sent and not received pingsping.c+2 -20 replies
8/28batctl: return only initialized icmp destination unreached bytesicmp_helper.c+6 -00 replies
9/28batctl: tcpdump: fix coded packet mac dest mac addressestcpdump.c+3 -20 replies
10/28batctl: tcpdump: fix endianness of fragmentation sequence numbertcpdump.c+1 -10 replies
11/28batctl: tcpdump: correct output of VLAN IDstcpdump.c+2 -10 replies
12/28batctl: tcpdump: drop hardcoded IPv6 buffer sizestcpdump.c+2 -20 replies
13/28batctl: tcpdump: fix reported length for ICMP6_TIME_EXCEEDEDtcpdump.c+1 -10 replies
14/28batctl: tcpdump: handle TCP packet with bogus data offsettcpdump.c+3 -10 replies
15/28batctl: tpmeter: fix Gbps outputthroughputmeter.c+1 -10 replies
16/28batctl: handle netlink callback object on errornetlink.c routing_algo.c throughputmeter.c+15 -20 replies
17/28batctl: netlink: check for BATADV_ATTR_MESH_ADDRESS before accessing itnetlink.c+1 -00 replies
18/28batctl: netlink: consume until acks even on errorsnetlink.c sys.c+2 -80 replies
19/28batctl: netlink: always 0-terminate hardif namenetlink.c+2 -10 replies
20/28batctl: version: don't strip newline for empty buffermain.c+1 -10 replies
21/28batctl: rtnl: report correct error on kernel communication problemfunctions.c+3 -10 replies
22/28batct: bat-hosts: compare full path for deduplicationbat-hosts.c+1 -10 replies
23/28batctl: mark file read only succesful on read linefunctions.c+2 -30 replies
24/28batctl: bisect_iv: avoid access of uninitialized loop magicbisect_iv.c+2 -20 replies
25/28batctl: bisect_iv: handle failed node_get for RT_FLAG_DELETEbisect_iv.c+5 -00 replies
26/28batctl: bisect_iv: avoid write before buffer whole tokenizing logbisect_iv.c+4 -20 replies
27/28batctl: bisect_iv: avoid out of bound access on short linesbisect_iv.c+6 -20 replies
28/28batctl: bisect_iv: drop dangling phantom event on OOM errorbisect_iv.c+5 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/28] batctl: random bugfixes 2026-06-21

This patchset batctl is just a bunch fixes without any specific topic in mind.

---
Sven Eckelmann (28):
batctl: fix parsing of parameters with arguments
batctl: originators: fix throughput lines with bat_hosts
batctl: free header lines after error
batctl: use strict interval/timeout parsing
batctl: improve number parsing error handling
batctl: traceroute: handle fast replies
batctl: ping: count sent and not received pings
batctl: return only initialized icmp destination unreached bytes
batctl: tcpdump: fix coded packet mac dest mac addresses
batctl: tcpdump: fix endianness of fragmentation sequence number
batctl: tcpdump: correct output of VLAN IDs
batctl: tcpdump: drop hardcoded IPv6 buffer sizes
batctl: tcpdump: fix reported length for ICMP6_TIME_EXCEEDED
batctl: tcpdump: handle TCP packet with bogus data offset
batctl: tpmeter: fix Gbps output
batctl: handle netlink callback object on error
batctl: netlink: check for BATADV_ATTR_MESH_ADDRESS before accessing it
batctl: netlink: consume until acks even on errors
batctl: netlink: always 0-terminate hardif name
batctl: version: don't strip newline for empty buffer
batctl: rtnl: report correct error on kernel communication problem
batct: bat-hosts: compare full path for deduplication
batctl: mark file read only succesful on read line
batctl: bisect_iv: avoid access of uninitialized loop magic
batctl: bisect_iv: handle failed node_get for RT_FLAG_DELETE
batctl: bisect_iv: avoid write before buffer whole tokenizing log
batctl: bisect_iv: avoid out of bound access on short lines
batctl: bisect_iv: drop dangling phantom event on OOM error

 bat-hosts.c        |  2 +-
 bisect_iv.c        | 44 ++++++++++++++++++++++++++------------------
 debug.c            |  4 ++--
 elp_interval.c     |  7 +++++--
 functions.c        | 11 ++++++-----
 gw_mode.c          |  8 ++++++--
 hop_penalty.c      |  7 +++++--
 icmp_helper.c      |  6 ++++++
 isolation_mark.c   |  8 ++++----
 main.c             |  4 ++--
 multicast_fanout.c |  7 +++++--
 netlink.c          | 16 ++++++++++------
 orig_interval.c    |  7 +++++--
 originators.c      |  4 ++--
 ping.c             | 14 ++++----------
 routing_algo.c     |  7 ++++++-
 sys.c              |  2 +-
 tcpdump.c          | 33 ++++++++++++++++-----------------
 throughputmeter.c  | 19 ++++++++++++-------
 traceroute.c       | 12 ++++++------
 20 files changed, 130 insertions(+), 92 deletions(-)

---
base-commit: ea57436f665805a6e93f496617e44dab8a2f33a4
change-id: 20260621-bugfixes-875a8d4d9dbc

Best regards,

Signature · 1 line
Sven Eckelmann <[email protected]>