]> git.baikalelectronics.ru Git - kernel.git/commit
net: bridge: Send notification when host join/leaves a group
authorAndrew Lunn <andrew@lunn.ch>
Thu, 9 Nov 2017 22:10:58 +0000 (23:10 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 10 Nov 2017 04:41:40 +0000 (13:41 +0900)
commitdbd9dd3fe8e0c6ec892e22cc9e38a1f185b4c097
tree6775f047aca49015026ef90c1f2061e5ac5f4b3c
parent4a22b29382229e891fe5a0731cfd02072a597f46
net: bridge: Send notification when host join/leaves a group

The host can join or leave a multicast group on the brX interface, as
indicated by IGMP snooping.  This is tracked within the bridge
multicast code. Send a notification when this happens, in the same way
a notification is sent when a port of the bridge joins/leaves a group
because of IGMP snooping.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Acked-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_mdb.c
net/bridge/br_multicast.c