batman-adv: drop QinQ claim frames in bridge loop avoidance
authorSimon Wunderlich <simon@open-mesh.com>
Mon, 23 Jun 2014 13:55:36 +0000 (15:55 +0200)
committerAntonio Quartulli <antonio@meshcoding.com>
Mon, 21 Jul 2014 07:05:31 +0000 (09:05 +0200)
commitd46b6bfa7628030a93e05f7087b7c638a85b4a35
tree473f7190cebee57b52525062c746fad1cf230a49
parent640d7efe4c08f06c4ae5d31b79bd8740e7f6790a
batman-adv: drop QinQ claim frames in bridge loop avoidance

Since bridge loop avoidance only supports untagged or simple 802.1q
tagged VLAN claim frames, claim frames with stacked VLAN headers (QinQ)
should be detected and dropped. Transporting the over the mesh may cause
problems on the receivers, or create bogus entries in the local tt
tables.

Reported-by: Antonio Quartulli <antonio@open-mesh.com>
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/bridge_loop_avoidance.c