summaryrefslogtreecommitdiffstats
path: root/net/tipc
diff options
context:
space:
mode:
authorMarek Lindner <mareklindner@neomailbox.ch>2018-05-11 18:23:07 +0200
committerSimon Wunderlich <sw@simonwunderlich.de>2018-05-12 18:53:08 +0200
commit16116dac23396e73c01eeee97b102e4833a4b205 (patch)
tree36b2d037ecd8946c346fc2944013a02fd0bc1b3f /net/tipc
parentbatman-adv: Fix TT sync flags for intermediate TT responses (diff)
downloadlinux-16116dac23396e73c01eeee97b102e4833a4b205.tar.xz
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/tipc')
0 files changed, 0 insertions, 0 deletions