From: Simon Wunderlich Date: Wed, 13 Aug 2014 12:26:56 +0000 (+0200) Subject: batman-adv: fix and simplify condition when bonding should be used X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~321^2~1^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=329887ad13a3f3d26837ea9fce5a8305a7c983e2;p=pandora-kernel.git 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 Signed-off-by: Simon Wunderlich Signed-off-by: Marek Lindner Signed-off-by: Antonio Quartulli --- Reading git-diff-tree failed