diff options
author | Antonio Quartulli <ordex@autistici.org> | 2012-05-25 00:00:42 +0200 |
---|---|---|
committer | Antonio Quartulli <ordex@autistici.org> | 2012-06-28 08:44:50 +0200 |
commit | 3b643de541d4051f236f1e422f3329cccb7bd9c5 (patch) | |
tree | 2474303023ed04b2eb17532525339463955e69cc /net/batman-adv/routing.c | |
parent | 28afd3c0756e0f052a09710c7daa0b9e27700a02 (diff) |
batman-adv: clear ADD+DEL (and viceversa) events in the same orig-interval
During an OGM-interval (time between two different OGM sendings) the same client
could roam away and then roam back to us. In this case the node would add two
events to the events list (that is going to be sent appended to the next OGM). A
DEL one and an ADD one. Obviously they will only increase the overhead (either in
the air and on the receiver side) and eventually trigger wrong states/events
without producing any real effect.
For this reason we can safely delete any ADD event with its related DEL one.
Signed-off-by: Antonio Quartulli <ordex@autistici.org>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Diffstat (limited to 'net/batman-adv/routing.c')
0 files changed, 0 insertions, 0 deletions