batman-adv: add bonding again
authorSimon Wunderlich <simon@open-mesh.com>
Wed, 13 Nov 2013 18:14:50 +0000 (19:14 +0100)
committerAntonio Quartulli <antonio@meshcoding.com>
Sun, 12 Jan 2014 13:41:15 +0000 (14:41 +0100)
commitf3b3d9018975ffb2680b7c1d37122f9d80301587
tree7bba5d71de0bfae806d91653ef8262f396bc08b3
parentef0a937f7a1450d3a133ccd83c9c7d07587e7a00
batman-adv: add bonding again

With the new interface alternating, the first hop may send packets
in a round robin fashion to it's neighbors because it has multiple
valid routes built by the multi interface optimization. This patch
enables the feature if bonding is selected. Note that unlike the
bonding implemented before, this version is much simpler and may
even enable multi path routing to a certain degree.

Signed-off-by: Simon Wunderlich <simon@open-mesh.com>
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
Signed-off-by: Antonio Quartulli <antonio@meshcoding.com>
net/batman-adv/originator.c
net/batman-adv/routing.c
net/batman-adv/routing.h
net/batman-adv/types.h