* Patch "batman-adv: Detect missing primaryif during tp_send as error" has been added to the 4.8-stable tree
@ 2016-12-05 14:58 gregkh
0 siblings, 0 replies; only message in thread
From: gregkh @ 2016-12-05 14:58 UTC (permalink / raw)
To: sven, gregkh, joe, sw; +Cc: stable, stable-commits
This is a note to let you know that I've just added the patch titled
batman-adv: Detect missing primaryif during tp_send as error
to the 4.8-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
batman-adv-detect-missing-primaryif-during-tp_send-as-error.patch
and it can be found in the queue-4.8 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@vger.kernel.org> know about it.
>From e13258f38e927b61cdb5f4ad25309450d3b127d1 Mon Sep 17 00:00:00 2001
From: Sven Eckelmann <sven@narfation.org>
Date: Sat, 29 Oct 2016 09:18:43 +0200
Subject: batman-adv: Detect missing primaryif during tp_send as error
From: Sven Eckelmann <sven@narfation.org>
commit e13258f38e927b61cdb5f4ad25309450d3b127d1 upstream.
The throughput meter detects different situations as problems for the
current test. It stops the test after these and reports it to userspace.
This also has to be done when the primary interface disappeared during the
test.
Fixes: 33a3bb4a3345 ("batman-adv: throughput meter implementation")
Reported-by: Joe Perches <joe@perches.com>
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/tp_meter.c | 1 +
1 file changed, 1 insertion(+)
--- a/net/batman-adv/tp_meter.c
+++ b/net/batman-adv/tp_meter.c
@@ -837,6 +837,7 @@ static int batadv_tp_send(void *arg)
primary_if = batadv_primary_if_get_selected(bat_priv);
if (unlikely(!primary_if)) {
err = BATADV_TP_REASON_DST_UNREACHABLE;
+ tp_vars->reason = err;
goto out;
}
Patches currently in stable-queue which might be from sven@narfation.org are
queue-4.8/batman-adv-detect-missing-primaryif-during-tp_send-as-error.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-12-05 14:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-05 14:58 Patch "batman-adv: Detect missing primaryif during tp_send as error" has been added to the 4.8-stable tree gregkh
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.