net: bridge: mcast: export multicast router presence adjacent to a port
authorLinus Lüssing <linus.luessing@c0d3.blue>
Thu, 13 May 2021 13:20:53 +0000 (15:20 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 13 May 2021 21:04:31 +0000 (14:04 -0700)
commit3b85f9ba3480c1bcbebb2bb490822bec0e7a1201
treef9bc58a8c7dda3a4295b32233870c977c6787a9c
parentb7fb0916544de44ce099d9f3b6129c86b484de25
net: bridge: mcast: export multicast router presence adjacent to a port

To properly support routable multicast addresses in batman-adv in a
group-aware way, a batman-adv node needs to know if it serves multicast
routers.

This adds a function to the bridge to export this so that batman-adv
can then make full use of the Multicast Router Discovery capability of
the bridge.

Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/if_bridge.h
net/bridge/br_multicast.c