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 immediate purge of a local entry
A client which was added after the last ttvn increment was never announced and can be dropped from the local table right away. The code doing so is the second half of batadv_tt_local_remove() and needed a goto to skip the accounting when the entry was already gone from the hash. Move it to batadv_tt_local_remove_now(). Signed-off-by: Sven Eckelmann <sven@narfation.org>
This commit is contained in:
parent
5e02403a4c
commit
931de98d39
1 changed files with 37 additions and 20 deletions
Loading…
Add table
Add a link
Reference in a new issue