Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from diktynna.open-mesh.org (diktynna.open-mesh.org [136.243.236.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 45211C43602 for ; Tue, 7 Jul 2026 18:48:38 +0000 (UTC) Received: from diktynna.open-mesh.org (localhost [IPv6:::1]) by diktynna.open-mesh.org (Postfix) with ESMTP id A86A78482D for ; Tue, 07 Jul 2026 20:48:36 +0200 (CEST) ARC-Seal: i=2; cv=pass; a=rsa-sha256; d=open-mesh.org; s=20121; t=1783450116; b=I93IG5E8td96O+agkyBNIu86ZEhhTR0sCz0mGBNDABfwYYDXd7QX6jKy4wSTgf6iAqQ3r NVlEedcNZiOL7/YMyvYo2qVa5M/Nryxf4cJq53BHtcKkSYhKCx5CHbLVlPIjpBlvzQY+Evd RkQfJx9vOTe7beBZktMpYfdGzX1edkA= ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=open-mesh.org; s=20121; t=1783450116; h=from : sender : reply-to : subject : date : message-id : to : cc : mime-version : content-type : content-transfer-encoding : content-id : content-description : resent-date : resent-from : resent-sender : resent-to : resent-cc : resent-message-id : in-reply-to : references : list-id : list-help : list-unsubscribe : list-subscribe : list-post : list-owner : list-archive; bh=scPE1j+bKUMKu0GStzI99RS336Ln/5PAYYRouv7x2JE=; b=E1iqLUtUSrMQD/a41fCg6Gl7JI+yiyH36y5oKwBbVV7GZIvO5pfsIldRr0ywDZeDXGWst hJ54LX4yMsJ6rqJhw9JPkZH5c6O9LxRsIUbmcAaJIF8i67AH7GhjtH6PuyFQPrgxp5qVMzB Z8Z8YcvDakU6VyyvTH5CSa9MNb3LwG4= ARC-Authentication-Results: i=2; open-mesh.org; dkim=pass header.d=narfation.org; arc=pass; dmarc=pass header.from=narfation.org policy.dmarc=none Authentication-Results: open-mesh.org; dkim=pass header.d=narfation.org; arc=pass; dmarc=pass (Used From Domain Record) header.from=narfation.org policy.dmarc=none Received: from dvalin.narfation.org (dvalin.narfation.org [213.160.73.56]) by diktynna.open-mesh.org (Postfix) with UTF8SMTPS id 2797483454 for ; Tue, 07 Jul 2026 20:46:51 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; d=open-mesh.org; s=20121; cv=none; t=1783450021; b=ncWzqudilDgXHa357ywaYI5CTN5J0P7QbPXMT5BQEkUyU7/Rz5wjKzMgb7VJZtBT7l8qKw WJfdTUfV1PT+iIyV0AGVuhXtO978w1EXZ+zHBEf+/AoXtl8xpffkaM5SJL+zfSnDpHovTU gR+fxK6DXBpuI9HllsMA4/jxqU8VpqA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=open-mesh.org; s=20121; t=1783450021; 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:dkim-signature; bh=scPE1j+bKUMKu0GStzI99RS336Ln/5PAYYRouv7x2JE=; b=1TSZLXIm55Y64QqfpYYgnLoy3MIXilrtbaJAfNi+8XoPu+592BWV9a0YvF1Wgaw9J/yZ9q tvPNNVS9S3NfgROOzlBuNE/ohAX7QdsYZ3BmKsIVlTbPq5TeMijD2nxQGmaswcY0cgy8Qe wsKz5m6GdKvwwhJauy9zz8IOgI2DNV4= ARC-Authentication-Results: i=1; diktynna.open-mesh.org; dkim=pass header.d=narfation.org header.s=20121 header.b=g+nJnnmE; spf=pass (diktynna.open-mesh.org: domain of sven@narfation.org designates 213.160.73.56 as permitted sender) smtp.mailfrom=sven@narfation.org; dmarc=pass (policy=none) header.from=narfation.org Received: by dvalin.narfation.org (Postfix) id 4F1E620442; Tue, 07 Jul 2026 18:46:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=narfation.org; s=20121; t=1783450010; 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=scPE1j+bKUMKu0GStzI99RS336Ln/5PAYYRouv7x2JE=; b=g+nJnnmEI0nIFty78VSuyrMpbfZkDdTcipFsGZ8MbFcVEF0tLfGsxBKt/+P5/MA7ilbrCl wf4GMk18eH8Z+s7ifukiGSURCRqv3D9E7OUKV5vXShtMRgFdyerPTtsZRCroP9gNSoPxS3 E2ObfWdZmdVWSYqGneWy8/QZYyLLwUg= From: Sven Eckelmann Subject: [PATCH 00/11] batctl: traceroute/ping bugfixes Date: Tue, 07 Jul 2026 20:46:42 +0200 Message-Id: <20260707-bugfixes-icmp-v1-0-ee563a984acf@narfation.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAJJJTWoC/yXMyw5AMBCF4VeRWWvS1t2riAXtYCQu6SAS8e6K5 ZeT/1zA6AgZyuAChwcxLbOHCgMwQzP3KMh6g5Y6lZmMRbv3HZ3Igsy0ijxRNoq7ItfKgm9Wh9/ qk6r+zXs7otneE7jvB7qzh41xAAAA X-Change-ID: 20260704-bugfixes-icmp-851d34f9821d To: b.a.t.m.a.n@lists.open-mesh.org Cc: Sven Eckelmann X-Mailer: b4 0.15.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=1462; i=sven@narfation.org; h=from:subject:message-id; bh=GoEqoc1qv+GheujJ/0BS5V1XKA8TmD62Ahau5n+k9Us=; b=owGbwMvMwCXmy1+ufVnk62nG02pJDFm+nlO/T5Hk7bHerdurfeBc7IUXsiKJay83NG60+nrUO eDM/YCWjlIWBjEuBlkxRZY9V/LPb2Z/K/952sejMHNYmUCGMHBxCsBEmh4x/BX78becZ+u2qtqD tq+jtn0P6N77VELUT//68+K/ny5psn1gZGgvaDmn31Ilraf55T5zqYVB8oF7u5M+VSUL1M5olzo byAcA X-Developer-Key: i=sven@narfation.org; a=openpgp; fpr=522D7163831C73A635D12FE5EC371482956781AF Message-ID-Hash: 72Z4ZEI5F5E4YAMT4O7UQ4ALDM73H4CB X-Message-ID-Hash: 72Z4ZEI5F5E4YAMT4O7UQ4ALDM73H4CB X-MailFrom: sven@narfation.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; header-match-b.a.t.m.a.n.lists.open-mesh.org-0; header-match-b.a.t.m.a.n.lists.open-mesh.org-1; header-match-b.a.t.m.a.n.lists.open-mesh.org-2; header-match-b.a.t.m.a.n.lists.open-mesh.org-3; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 Precedence: list List-Id: The list for a Better Approach To Mobile Ad-hoc Networking Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: 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 --- 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