diff options
| author | Sven Eckelmann <sven@narfation.org> | 2026-10-08 12:00:27 +0200 |
|---|---|---|
| committer | Sven Eckelmann <sven@narfation.org> | 2026-10-30 10:11:26 +0100 |
| commit | aff4d5d10f2dcb4a9b604e27414dafa1d51b6406 (patch) | |
| tree | f5bd8cd722fe2c59c1cfc763db5546197a95ba58 /rust/kernel/alloc/allocator | |
| parent | cc2186d7854785b30d423f5d43757b086b300e55 (diff) | |
batman-adv: tt: send ROAM_ADV on each roamed back client
When a ROAMING_ADV is received for an announced local client,
batadv_roam_tvlv_unicast_handler_v1() creates a global entry with the
BATADV_TT_CLIENT_ROAM flag set.
If the client sends a frame again before the next TTVN commit,
batadv_tt_local_add_roam() is expected to announce this return via a
ROAM_ADV frame. But this doesn't happen because the global entry (created
by the first ROAMING_ADV) carries BATADV_TT_CLIENT_ROAM until the new
originator announces the client.
Let batadv_tt_local_add_roam() always handle a roamed back client -
independent of the ROAM flag of the global entry:
* trigger sending of the ROAM_ADV frame(s)
* remove the (with the roaming) associated global entry
Cc: stable@vger.kernel.org
Fixes: 068ee6e204e1 ("batman-adv: roaming handling mechanism redesign")
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Diffstat (limited to 'rust/kernel/alloc/allocator')
0 files changed, 0 insertions, 0 deletions
