Re: [PATCH v3 net-next 2/5] net: bridge: Send notification when host join/leaves a group
From: Nikolay Aleksandrov <hidden>
Date: 2017-11-08 01:39:46
From: Nikolay Aleksandrov <hidden>
Date: 2017-11-08 01:39:46
On 7.11.2017 01:26, Andrew Lunn wrote:
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> --- net/bridge/br_mdb.c | 9 ++++++--- net/bridge/br_multicast.c | 6 +++++- 2 files changed, 11 insertions(+), 4 deletions(-)
We really should rewrite __br_mdb_notify to be more readable, but that is beyond the scope of this set and can be done later. Acked-by: Nikolay Aleksandrov <redacted>