]> 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)
commit3b9cc682cdea469b937f54f1613a09c94153f1f7
tree143055e9de797c3b645d453a5d0c62d5c3d8af19
parentea11a29025bcd213ee8b88baaf783cc5cd86b8a8
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