]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
batman-adv: Ignore neighbor throughput metrics in error case
authorSven Eckelmann <sven@narfation.org>
Mon, 20 Jan 2025 19:35:28 +0000 (20:35 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 21 Feb 2025 13:01:28 +0000 (14:01 +0100)
commite8f60d9cdae8f480f7e3764599ac41ec3c6585fe
tree3553a54c638fa918ad0fa2445d6558d51335642c
parent2c3fb7df4cc6d043f70d4a8a10f8b915bbfb75e7
batman-adv: Ignore neighbor throughput metrics in error case

commit e7e34ffc976aaae4f465b7898303241b81ceefc3 upstream.

If a temporary error happened in the evaluation of the neighbor throughput
information, then the invalid throughput result should not be stored in the
throughtput EWMA.

Cc: stable@vger.kernel.org
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/batman-adv/bat_v_elp.c