]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd6b6329b5a66d4bc8ae247b63ba3dcb75bf1390e
treef9bc58a8c7dda3a4295b32233870c977c6787a9c
parent86d5897cbb8d27ea4035b3774168c9cab31e5cbc
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