[PATCH batadv v2 0/6] batman-adv: tt: atomic_t sashiko fixes
Sven Eckelmann <[email protected]>
| Newsgroups | org.open-mesh.lists.batman |
|---|---|
| Message-ID | <[email protected]> |
There were a couple of sashiko reports regarding the batadv-next-pullrequest-20260728 PR. I went through the TT code and tried to handle them and at the same time already predict what else sashiko might report as next. I needed to change the batadv_tt_local_remove() hash interaction as preparation for the related NEW flag (and counter) handling. And the netdev maintainers rejected this approach (for now). I had to re-add the atomic_t code parts back in this patchset. Signed-off-by: Sven Eckelmann <[email protected]> --- Changes in v2: - rebase on main - add "batman-adv: tt: use atomic flag modifications" and "batman-adv: tt: simplify NEW flag transition code" because they are reverted on main - add patch to extract the roam "add" code in a separate function - make the "simplify NEW flag transition code" patch independent of atomic_t code - Link to v1: https://patch.msgid.link/[email protected] --- Sven Eckelmann (6): batman-adv: tt: remove only the entry which was looked up from the hash batman-adv: tt: extract code handling a roam on add batman-adv: tt: simplify NEW flag transition code batman-adv: tt: use atomic flag modifications batman-adv: tt: decrement count for committed client on local_remove batman-adv: tt: don't uncount never committed clients on pending purge net/batman-adv/translation-table.c | 377 +++++++++++++++++++++++++------------ net/batman-adv/types.h | 2 +- 2 files changed, 253 insertions(+), 126 deletions(-) --- base-commit: 7c21a379ef7f9887c13d7450a3d5236de62f22ed change-id: 20260730-tt-fixes-fca2b722ebbd Best regards, -- Sven Eckelmann <[email protected]>