mirror of
https://github.com/torvalds/linux.git
synced 2026-11-07 06:17:02 +01:00
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 <sashiko-bot@kernel.org> Signed-off-by: Sven Eckelmann <sven@narfation.org>
This commit is contained in:
parent
77f653e6f7
commit
7356a9232d
|
|
@ -519,7 +519,7 @@ static int batadv_v_neigh_cmp(struct batadv_neigh_node *neigh1,
|
|||
* @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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user