]> git.baikalelectronics.ru Git - kernel.git/commit
batman-adv: Detect missing primaryif during tp_send as error
authorSven Eckelmann <sven@narfation.org>
Sat, 29 Oct 2016 07:18:43 +0000 (09:18 +0200)
committerSimon Wunderlich <sw@simonwunderlich.de>
Fri, 4 Nov 2016 11:27:39 +0000 (12:27 +0100)
commit336998ec2528f6d8bfbb8f27777b98adb157c0ad
tree7aff8e664704feeda9cf96deed3b61681782c8b6
parent520fb7a53e16fc62591d0f2ffcd154a0f572054b
batman-adv: Detect missing primaryif during tp_send as error

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: 8c497022f5b2 ("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>
net/batman-adv/tp_meter.c