]> git.baikalelectronics.ru Git - kernel.git/commit
batman-adv: delete global entry in case of roaming
authorAntonio Quartulli <ordex@autistici.org>
Sun, 4 Dec 2011 21:38:27 +0000 (22:38 +0100)
committerMarek Lindner <lindner_marek@yahoo.de>
Tue, 6 Dec 2011 19:12:59 +0000 (03:12 +0800)
commit0056a31ae0b22e2953e41ac9deecccdab5b15172
tree1c140c512317ae78ddb3687270c7fee597586e77
parente8a033a984446641ac9589a65116406ef867003b
batman-adv: delete global entry in case of roaming

When receiving a DEL change for a client due to a roaming event (change is
marked with TT_CLIENT_ROAM), each node  has to check if the client roamed
to itself or somewhere else.

In the latter case the global entry is kept to avoid having no route at all
otherwise we can safely delete the global entry

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