From 7356a9232d9c84e57a71b362370b2397ef58fb26 Mon Sep 17 00:00:00 2001 From: Sven Eckelmann Date: Thu, 6 Aug 2026 20:54:54 +0200 Subject: [PATCH] batman-adv: clarify cut-off in batadv_v_neigh_is_sob kernel-doc The neigh1 throughput must be more than 3/4 of the neigh2 throughput. Just 3/4 is not enough to return true. Reported-by: Sashiko Signed-off-by: Sven Eckelmann --- net/batman-adv/bat_v.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/batman-adv/bat_v.c b/net/batman-adv/bat_v.c index 2d3045733db1..0d0a226c3fd0 100644 --- a/net/batman-adv/bat_v.c +++ b/net/batman-adv/bat_v.c @@ -519,7 +519,7 @@ err_ifinfo1: * @neigh2: second neighbour to compare * @if_outgoing2: outgoing interface to use for @neigh2 * - * Return: true if the throughput of @neigh1 is at least 3/4 of the + * Return: true if the throughput of @neigh1 is more than 3/4 of the * @neigh2 throughput */ static bool batadv_v_neigh_is_sob(struct batadv_neigh_node *neigh1,