On Samstag, 6. August 2016 22:23:16 CEST Linus Lüssing wrote:
Instead of latching onto the OGM period, this patch introduces a worker dedicated to multicast TT and TVLV updates.
The reasoning is, that upon roaming especially the translation table should be updated timely to minimize connectivity issues.
With BATMAN V, the idea is to greatly increase the OGM interval to reduce overhead. Unfortunately, right now this could lead to a bad user experience if multicast traffic is involved.
Therefore this patch introduces a fixed 500ms update interval for multicast TT entries and the multicast TVLV.
Signed-off-by: Linus Lüssing linus.luessing@c0d3.blue Reviewed-by: Sven Eckelmann sven@narfation.org
Changes in v3:
- added missing #includes
- fixed parameter kerneldoc of batadv_mcast_mla_update()
Changes in v2:
- updated kerneldoc regarding bat_priv->mcast.mla_list "locking"
net/batman-adv/main.h | 1 + net/batman-adv/multicast.c | 62 ++++++++++++++++++++++++++++++++++---- net/batman-adv/multicast.h | 6 ---- net/batman-adv/translation-table.c | 4 --- net/batman-adv/types.h | 4 ++- 5 files changed, 60 insertions(+), 17 deletions(-)
Applied in 40b384052672ba06cd2a764e3d87f947d0fd6891 [1].
Kind regards, Sven
[1] https://git.open-mesh.org/batman-adv.git/commit/40b384052672ba06cd2a764e3d87...