batman-adv: keep global table consistency in case of roaming
authorAntonio Quartulli <ordex@autistici.org>
Wed, 6 Jul 2011 23:40:59 +0000 (01:40 +0200)
committerMarek Lindner <lindner_marek@yahoo.de>
Thu, 7 Jul 2011 16:49:26 +0000 (18:49 +0200)
commit980d55b20a730cbabc74cdc57be9c47713dba57b
tree6b3d66dfe0134cea1b24114e2454ff3fa631a66a
parent058d0e26989e3da2fa031f551235f6ff1e0bc27c
batman-adv: keep global table consistency in case of roaming

To keep consistency of other originator tables, new clients detected as
roamed, are kept in the global table but are marked as TT_CLIENT_PENDING
They are purged only when the new ttvn is received by the corresponding
originator. Moreover they need to be considered as removed in case of global
transtable lookup.

Signed-off-by: Antonio Quartulli <ordex@autistici.org>
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
net/batman-adv/translation-table.c