mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-13 07:31:07 +00:00
batman-adv: tt: extract refresh of existing local entries
The handling of a client which is already part of the local translation table is independent from the rest of batadv_tt_local_add(): it only refreshes last_seen and evaluates the PENDING and ROAM flags of the entry which was just looked up. Move it to batadv_tt_local_add_existing(). It reports via its return value whether the client has to be announced to the mesh again and whether the client roamed back to its original location. Signed-off-by: Sven Eckelmann <sven@narfation.org>
This commit is contained in:
parent
a5e5d2709d
commit
ec6edeb755
1 changed files with 51 additions and 27 deletions
Loading…
Add table
Add a link
Reference in a new issue