batman-adv: set the TAG flag for the vid passed to BLA
authorAntonio Quartulli <antonio@open-mesh.com>
Wed, 11 Sep 2013 17:14:44 +0000 (19:14 +0200)
committerAntonio Quartulli <antonio@meshcoding.com>
Tue, 17 Sep 2013 19:15:16 +0000 (21:15 +0200)
commit4c18c425b2d228415b635e97a64737d7f27c5536
tree796c4d86787a4fbccba7bdac890d3908504aace1
parent1ef68ec462571955f2a667ddf1ffe279848709d7
batman-adv: set the TAG flag for the vid passed to BLA

When receiving or sending a packet a packet on a VLAN, the
vid has to be marked with the TAG flag in order to make any
component in batman-adv understand that the packet is coming
from a really tagged network.

This fix the Bridge Loop Avoidance behaviour which was not
able to send announces over VLAN interfaces.

Introduced by 0b1da1765fdb00ca5d53bc95c9abc70dfc9aae5b
("batman-adv: change VID semantic in the BLA code")

Signed-off-by: Antonio Quartulli <antonio@open-mesh.org>
Acked-by: Simon Wunderlich <siwu@hrz.tu-chemnitz.de>
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
net/batman-adv/soft-interface.c