diff options
| author | Sven Eckelmann <sven@narfation.org> | 2026-08-30 17:21:44 +0200 |
|---|---|---|
| committer | Sven Eckelmann <sven@narfation.org> | 2026-08-30 20:05:56 +0200 |
| commit | 01ae63ecd1c098521f2544cb1018b8ec22d9bdb1 (patch) | |
| tree | 8ae7b6298e3766a0eab670a1b67e27672684768e /tools/lib/python/kdoc/python_version.py | |
| parent | f59c4c59df104baf473e20f885071a9d713c3861 (diff) | |
batman-adv: tt: don't uncount never committed clients on pending purge
batadv_tt_local_purge_pending_clients() decreases vlan->tt.num_entries for
every entry it unlinks, but an entry which still carries
BATADV_TT_CLIENT_NEW was never counted by batadv_tt_local_transition_new().
batadv_tt_local_resize_to_mtu() calls batadv_tt_local_purge() and
batadv_tt_local_purge_pending_clients() directly, without committing in
between, and it halves its timeout down towards zero. Once the timeout is
short enough, batadv_tt_local_purge_list() marks even freshly added clients
as pending. And each of them decreases a counter it never increased.
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
