[maint,v2,0/4] batman-adv: mcast: TT/BLA fixes

Message ID 20200904182803.8428-1-linus.luessing@c0d3.blue (mailing list archive)
Series batman-adv: mcast: TT/BLA fixes |


Linus L├╝ssing Sept. 4, 2020, 6:27 p.m. UTC

These are four fixes for issues which occur when using the batman-adv
multicast-to-unicast feature.

The first one fixes an issue of an intermediate node snitching
multicast-to-unicast packets and either dropping it or rerouting it to
another node. Which causes lost packets on some and duplicate packets on
other nodes.

Patches 2 to 4 fix issues when using the multicast-to-unicast conversion
while BLA is enabled and some nodes are sharing the same LAN side. Here
it either causes "just" duplicates in the "good" scenario (Patch 4/4).
But can also cause multiple BLA backbones to send a frame from the mesh
into the same, shared LAN segment (Patch 3). Or in the worst case, even
reflect packets back to the host in the shared LAN, which completely
confuses switches/bridges and ICMPv6 Neighbor Discovery.

Changelog v2:
* Adding "Fixes:" lines

Regards, Linus