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 merging of flags into existing global entries
When an already known global TT entry is announced again, its flags have to be merged with the announced ones. Two of the merge steps also decide whether the originator list has to be purged before the announced originator is added. Move this to batadv_tt_global_merge_flags() and let it report via its return value whether the originator list has to be purged. Signed-off-by: Sven Eckelmann <sven@narfation.org>
This commit is contained in:
parent
d9017aeb40
commit
b535e61347
1 changed files with 52 additions and 35 deletions
Loading…
Add table
Add a link
Reference in a new issue