diff options
author | Marek Lindner <mareklindner@neomailbox.ch> | 2018-05-12 00:23:07 +0800 |
---|---|---|
committer | Simon Wunderlich <sw@simonwunderlich.de> | 2018-05-12 18:53:08 +0200 |
commit | 16116dac23396e73c01eeee97b102e4833a4b205 (patch) | |
tree | 36b2d037ecd8946c346fc2944013a02fd0bc1b3f /net/batman-adv/bitarray.c | |
parent | 7072337e52b3e9d5460500d8dc9cbc1ba2db084c (diff) | |
download | linux-16116dac23396e73c01eeee97b102e4833a4b205.tar.gz linux-16116dac23396e73c01eeee97b102e4833a4b205.tar.bz2 linux-16116dac23396e73c01eeee97b102e4833a4b205.zip |
batman-adv: prevent TT request storms by not sending inconsistent TT TLVLs
A translation table TVLV changset sent with an OGM consists
of a number of headers (one per VLAN) plus the changeset
itself (addition and/or deletion of entries).
The per-VLAN headers are used by OGM recipients for consistency
checks. Said consistency check might determine that a full
translation table request is needed to restore consistency. If
the TT sender adds per-VLAN headers of empty VLANs into the OGM,
recipients are led to believe to have reached an inconsistent
state and thus request a full table update. The full table does
not contain empty VLANs (due to missing entries) the cycle
restarts when the next OGM is issued.
Consequently, when the translation table TVLV headers are
composed, empty VLANs are to be excluded.
Fixes: 21a57f6e7a3b ("batman-adv: make the TT CRC logic VLAN specific")
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
Diffstat (limited to 'net/batman-adv/bitarray.c')
0 files changed, 0 insertions, 0 deletions