diff options
| author | Sven Eckelmann <sven@narfation.org> | 2026-10-07 13:03:29 +0200 |
|---|---|---|
| committer | Sven Eckelmann <sven@narfation.org> | 2026-10-30 10:11:26 +0100 |
| commit | c5d68abe6e7f1dbd132a602cb696fe1fff0389eb (patch) | |
| tree | 078336288895ed9921c4978f826a9f6bc1e15c45 /rust/kernel | |
| parent | aff4d5d10f2dcb4a9b604e27414dafa1d51b6406 (diff) | |
batman-adv: tt: ignore ROAM flag of received ADD changes
A received TT change (OGM diff or full table response) with the ROAM flag
but without DEL is handled by batadv_tt_global_add() like a ROAMING_ADV:
* a newly created global entry gets BATADV_TT_CLIENT_ROAM and is
therefore excluded from the global CRC. The sender has it in its local
CRC and the receiver has to request the full table again
* batadv_tt_global_purge_local() removes the local entry of the
receiver. The receiver's own client is considered as roamed to the sender
and frames for it are rerouted
The ROAM flag only has a meaning together with DEL. Drop it on reception to
keep it from populating the global table with a temporary ROAMING entry
which is not part of the CRC - and therefore causing a CRC mismatch.
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')
0 files changed, 0 insertions, 0 deletions
