]> git.baikalelectronics.ru Git - kernel.git/commit
batman-adv: add broadcast duplicate check
authorSimon Wunderlich <simon.wunderlich@s2003.tu-chemnitz.de>
Sun, 22 Jan 2012 19:00:24 +0000 (20:00 +0100)
committerAntonio Quartulli <ordex@autistici.org>
Wed, 11 Apr 2012 12:28:59 +0000 (14:28 +0200)
commitfa769a3acd63dca9a5c766c3a5d487373d4fd973
tree143055e9de797c3b645d453a5d0c62d5c3d8af19
parent5957224ec8bcb615a8344f26f0d03ff8f4be2133
batman-adv: add broadcast duplicate check

When multiple backbone gateways relay the same broadcast from the
backbone into the mesh, other nodes in the mesh may receive this
broadcast multiple times. To avoid this, the crc checksums of
received broadcasts are recorded and new broadcast packets with
the same content may be dropped if received by another gateway.

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