]> git.baikalelectronics.ru Git - kernel.git/commit
batman-adv: wait multiple periods before activating bla
authorSimon Wunderlich <simon.wunderlich@s2003.tu-chemnitz.de>
Thu, 13 Sep 2012 16:18:46 +0000 (18:18 +0200)
committerAntonio Quartulli <ordex@autistici.org>
Wed, 14 Nov 2012 20:00:35 +0000 (21:00 +0100)
commit9981de9423fc97585c08cc60261273e892c48945
tree3c5c13c4cf6fe61bec2e7d5ae2b8a3d20a40cac9
parent139c11368bc6ecd8ba68fc4986bd3dcec8255801
batman-adv: wait multiple periods before activating bla

For some reasons (bridge forward delay, network device setup order, etc)
the initial bridge loop avoidance announcement packets may be lost. This
may lead to problems in finding other backbone gws, and therfore create
loops in the startup time.

Fix this by extending the waiting periods to 3 (define can be changed)
before allowing broadcast traffic.

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
net/batman-adv/main.h
net/batman-adv/types.h