batman-adv: keep local table consistency for further TT_RESPONSE
To keep transtable consistency among all the nodes, an originator must not send not yet announced clients within a full table TT_RESPONSE. Instead, deleted client have to be kept in the table in order to be sent within an immediate TT_RESPONSE. In this way all the nodes in the network will always provide the same response for the same request. All the modification are committed at the next ttvn increment event. Signed-off-by:Antonio Quartulli <ordex@autistici.org> Signed-off-by:
Marek Lindner <lindner_marek@yahoo.de>
Showing
- net/batman-adv/packet.h 3 additions, 1 deletionnet/batman-adv/packet.h
- net/batman-adv/send.c 1 addition, 3 deletionsnet/batman-adv/send.c
- net/batman-adv/translation-table.c 120 additions, 26 deletionsnet/batman-adv/translation-table.c
- net/batman-adv/translation-table.h 1 addition, 0 deletionsnet/batman-adv/translation-table.h
Loading
Please register or sign in to comment