batman-adv: mcast: shrink tracker packet after scrubbing
authorLinus Lüssing <linus.luessing@c0d3.blue>
Thu, 7 Sep 2023 01:09:10 +0000 (03:09 +0200)
committerSimon Wunderlich <sw@simonwunderlich.de>
Tue, 14 Nov 2023 07:16:34 +0000 (08:16 +0100)
commit2dfe644a1ce017cacd449adabd68c3bc49199e11
tree863c649a38d062681493445969e780c8cdb41211
parent90039133221e33964ccb4a536dad7eb0a372fff7
batman-adv: mcast: shrink tracker packet after scrubbing

Remove all zero MAC address entries (00:00:00:00:00:00) from a multicast
packet's tracker TVLV before transmitting it and update all headers
accordingly. This way, instead of keeping the multicast packet at a
constant size throughout its journey through the mesh, it will become
more lightweight, smaller with every interested receiver on the way and
on each splitting intersection. Which can save some valuable bandwidth.

Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
net/batman-adv/multicast_forw.c