aboutsummaryrefslogtreecommitdiffstats
path: root/net/batman-adv/originator.c
diff options
context:
space:
mode:
authorSimon Wunderlich <sw@simonwunderlich.de>2014-08-13 14:26:56 +0200
committerAntonio Quartulli <antonio@meshcoding.com>2015-01-06 11:05:07 +0100
commit329887ad13a3f3d26837ea9fce5a8305a7c983e2 (patch)
treedaafbc99322eb05a1dc9bd37fe37fe3b2c4bbf46 /net/batman-adv/originator.c
parentnet: ethernet: cpsw: fix hangs with interrupts (diff)
downloadlinux-dev-329887ad13a3f3d26837ea9fce5a8305a7c983e2.tar.xz
linux-dev-329887ad13a3f3d26837ea9fce5a8305a7c983e2.zip
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>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions