mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
batman-adv: tt: decrement count for committed client on local_remove
Local TT entries which have the BATADV_TT_CLIENT_NEW no longer set are committed. The batadv_tt_local_size_inc() was called for them and thus the batadv_tt_local_size_dec() has to be called also when batadv_tt_local_remove() is called for them when the BATADV_TT_CLIENT_NEW wasn't consumed in the remove path. Signed-off-by: Sven Eckelmann <sven@narfation.org>
This commit is contained in:
parent
01ae63ecd1
commit
799152bcf6
1 changed files with 9 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue