[Bridge] [PATCH RFCv2 3/4] batman-adv: Forward IGMP/MLD reports to selected querier (only)

David Miller davem at davemloft.net
Wed Apr 1 17:44:31 UTC 2015


From: Linus Lüssing <linus.luessing at c0d3.blue>
Date: Wed,  1 Apr 2015 10:04:38 +0200

> With this patch IGMP or MLD reports are only forwarded to the selected
> IGMP/MLD querier as RFC4541 suggests. This is necessary to avoid
> multicast packet loss in bridged scenarios later:
> 
> An IGMPv2/MLDv1 querier does not actively join the multicast group the
> reports are sent to. Because of this, this leads to snooping
> bridges/switches not being able to learn of multicast listeners in the
> mesh and wrongly shutting down ports for multicast traffic to the mesh.

There is no way this is going to work.

First of all, you have no proper Kconfig dependencies upon IPV6, yet
you are calling these newly exported ipv6 multicast interfaces
unconditionally.

Even once you resolve that, you are going to run into problems in
situations where BATMAN_ADV=y and IPV6=m, for example.


More information about the Bridge mailing list