diff options
author | Remi Pommarel <repk@triplefau.lt> | 2024-11-22 16:52:52 +0100 |
---|---|---|
committer | Simon Wunderlich <sw@simonwunderlich.de> | 2024-12-05 22:38:43 +0100 |
commit | fca81aa3e653d68ac696f3ee994384cecacf3845 (patch) | |
tree | fdb54df04fa6e67e7bf777a0095aec598e607ec1 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 8587e0e3f562b09bbfe0df1b0c506066095043e4 (diff) |
batman-adv: Don't keep redundant TT change events
When adding a local TT twice within the same OGM interval (e.g. happens
when flag get updated), the flags of the first TT change entry is updated
with the second one and both change events is added to the change list.
This leads to having the same ADD change entry twice. Similarly, a
DEL+DEL scenario is also creating twice the same event.
Deduplicate ADD+ADD or DEL+DEL scenarios to reduce the TT change events
that need to be sent in both OGM and TT response.
Signed-off-by: Remi Pommarel <repk@triplefau.lt>
Co-developed-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions