diff options
| author | Sven Eckelmann <sven@narfation.org> | 2026-08-06 20:54:53 +0200 |
|---|---|---|
| committer | Sven Eckelmann <sven@narfation.org> | 2026-08-30 19:50:54 +0200 |
| commit | 77f653e6f7223634111366a1f5b6b0340770105e (patch) | |
| tree | 87802c37a4c6b99a2298e8a537caa0ab3934b77b /tools/lib/python/kdoc/python_version.py | |
| parent | b963ee1dc32ce5329818e167b679b843b340d6ae (diff) | |
batman-adv: bat_v: fix bonding candidate selection
batadv_v_neigh_is_sob() implements the metric (throughput) similarity check
as:
neigh2 (the reference) has a better throughput than 3/4 of the neigh1
(candidate) throughput
But this results in a selection of bonding candidates in
batadv_find_router() which have a really low throughput. But the goal must
be to select candidates which have a good throughput.
The neigh1/neigh2 operands must be swapped in the comparison to use the
reference as such and select only neighbor+interface combinations with good
throughput.
Reported-by: Sashiko <sashiko-bot@kernel.org>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
