[PATCH 00/11] batctl: traceroute/ping bugfixes

Sven Eckelmann <[email protected]> Tue, 07 Jul 2026 20:46:42 +0200
Newsgroups org.open-mesh.lists.batman
Message-ID <[email protected]>
I have now splitted the bugfixes for batctl in topic branches to make it a
little bit easier to review. Similar to the "random bugfixes 2026-06-21"
patchset, they are just various (mostly minor) problems which should be
tackled at some point.

Signed-off-by: Sven Eckelmann <[email protected]>
---
Sven Eckelmann (11):
      batctl: traceroute: return EXIT_NOSUCCESS when destination not reached
      batctl: icmp_helper: return proper errno on syscall failures
      batctl: ping: count sent and not received pings
      batctl: ping/traceroute: don't restart RTT timer on stray replies
      batctl: traceroute: probe the advertised maximum number of hops
      batctl: ping: keep huge '-i' intervals from turning into a flood ping
      batctl: ping: reject invalid packet count argument
      batctl: ping: reject invalid timeout argument
      batctl: ping: fix rtt minimum tracking when a sample is 0.0
      batctl: icmp_helper: fail send when the primary mac is unknown
      batctl: icmp_helper: attach socket filter before packets can arrive

 icmp_helper.c | 47 ++++++++++++++++++++++++++++++-----------------
 ping.c        | 44 +++++++++++++++++++++++++++++++++-----------
 traceroute.c  |  9 ++++++---
 3 files changed, 69 insertions(+), 31 deletions(-)
---
base-commit: eb9597d4ca6db17c579f5ae9443c51b013e2fe65
change-id: 20260704-bugfixes-icmp-851d34f9821d

Best regards,
--  
Sven Eckelmann <[email protected]>