]> git.baikalelectronics.ru Git - kernel.git/commit
batman-adv: fix and simplify condition when bonding should be used
authorSimon Wunderlich <sw@simonwunderlich.de>
Wed, 13 Aug 2014 12:26:56 +0000 (14:26 +0200)
committerAntonio Quartulli <antonio@meshcoding.com>
Tue, 6 Jan 2015 10:05:07 +0000 (11:05 +0100)
commitfe336e512cd0a26e4f234b9e802cb2bf7a895f6b
treedaafbc99322eb05a1dc9bd37fe37fe3b2c4bbf46
parentd34d070a3530dd1ff2bbb73a1dd7fefb2e4d2b4c
batman-adv: fix and simplify condition when bonding should be used

The current condition actually does NOT consider bonding when the
interface the packet came in from is the soft interface, which is the
opposite of what it should do (and the comment describes). Fix that and
slightly simplify the condition.

Reported-by: Ray Gibson <booray@gmail.com>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
Signed-off-by: Antonio Quartulli <antonio@meshcoding.com>
net/batman-adv/routing.c