]> 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 12:50:00 +0000 (13:50 +0100)
commit792a14c90dab338a10a3cf57c367644b485df15d
treeaf9000b43d21a7c1544873b1d872e5e56e4c84ad
parent7eb5dd201695645af071592a50026eb780081a72
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