]> git.baikalelectronics.ru Git - kernel.git/commit
batman-adv: detect local excess vlans in TT request
authorSimon Wunderlich <sw@simonwunderlich.de>
Wed, 2 Sep 2015 18:09:56 +0000 (20:09 +0200)
committerAntonio Quartulli <a@unstable.cc>
Wed, 16 Dec 2015 07:17:08 +0000 (15:17 +0800)
commita3a9f34b40b9012df9c4a0dbf15e6b1d5e7e71bf
tree54a9204941a3e0b6f527acd68f1dcd611dacaa79
parent8c02b1d0b877869593a1cbd9a8dd85ba47f9cfcd
batman-adv: detect local excess vlans in TT request

If the local representation of the global TT table of one originator has
more VLAN entries than the respective TT update, there is some
inconsistency present. By detecting and reporting this inconsistency,
the global table gets updated and the excess VLAN will get removed in
the process.

Reported-by: Alessandro Bolletta <alessandro@mediaspot.net>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
Acked-by: Antonio Quartulli <antonio@meshcoding.com>
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
Signed-off-by: Antonio Quartulli <antonio@meshcoding.com>
net/batman-adv/translation-table.c