batman-adv: allow bla traffic only after first worker period
authorSimon Wunderlich <simon.wunderlich@s2003.tu-chemnitz.de>
Sun, 9 Sep 2012 20:27:57 +0000 (22:27 +0200)
committerAntonio Quartulli <ordex@autistici.org>
Wed, 14 Nov 2012 20:00:34 +0000 (21:00 +0100)
commitd807f2728708c54a1ac1ce04d4549d8eb2b996d2
tree69f48c87df4c09ecc1b70c6be73a414eea93822f
parent52aebd6a9fe4ad0245a00ef4457425ad83661c90
batman-adv: allow bla traffic only after first worker period

When adding a backbone gateway for the first time, it might not yet
be known in the backbone, and therefore we should not forward
broadcasts yet. This behaviour is the same as when sending a request
to another backbone gw because of a CRC mismatch. The backbone gw
will operate normal after the next periodic bla work.

Signed-off-by: Simon Wunderlich <siwu@hrz.tu-chemnitz.de>
Signed-off-by: Antonio Quartulli <ordex@autistici.org>
net/batman-adv/bridge_loop_avoidance.c