]> 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)
commit65fe6f66f85ff09cef9794a42954a696378726eb
tree1c140c512317ae78ddb3687270c7fee597586e77
parent9d1d57183264be832ec7da22a52a951f6d2b5f97
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