]> git.karo-electronics.de Git - linux-beck.git/commit
batman-adv: keep local table consistency for further TT_RESPONSE
authorAntonio Quartulli <ordex@autistici.org>
Wed, 6 Jul 2011 23:40:58 +0000 (01:40 +0200)
committerMarek Lindner <lindner_marek@yahoo.de>
Thu, 7 Jul 2011 16:49:26 +0000 (18:49 +0200)
commit058d0e26989e3da2fa031f551235f6ff1e0bc27c
treef39ce9771166b9a110a38c65621eb2128c152068
parentc8c991bf2076d711f14ff9063db306fd522ddcd4
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>
net/batman-adv/packet.h
net/batman-adv/send.c
net/batman-adv/translation-table.c
net/batman-adv/translation-table.h