From: Lin Ming <redacted>
Currently, multicast packets will be flood even if there is no
mutlicast snooping entry attached to port.
With IGMP snooping enabled, we should stop sending multicast packets
if there is no member joined.
Signed-off-by: Lin Ming <redacted>
---
net/bridge/br_input.c | 2 ++
net/bridge/br_private.h | 2 ++
2 files changed, 4 insertions(+), 0 deletions(-)
From: Herbert Xu <herbert@gondor.apana.org.au> Date: 2012-10-12 01:48:54
On Fri, Oct 12, 2012 at 09:17:23AM +0800, Lin Ming wrote:
From: Lin Ming <redacted>
Currently, multicast packets will be flood even if there is no
mutlicast snooping entry attached to port.
With IGMP snooping enabled, we should stop sending multicast packets
if there is no member joined.
On Fri, Oct 12, 2012 at 9:48 AM, Herbert Xu [off-list ref] wrote:
On Fri, Oct 12, 2012 at 09:17:23AM +0800, Lin Ming wrote:
quoted
From: Lin Ming <redacted>
Currently, multicast packets will be flood even if there is no
mutlicast snooping entry attached to port.
With IGMP snooping enabled, we should stop sending multicast packets
if there is no member joined.
Hmm, the default is deliberately this way so that we don't disrupt
traffic when we boot up. If you want to stop flooding unknown groups
by default you have to make it an option.
Do you mean adding a sysfs entry, for example
/sys/class/net/br0/bridge/multicast_no_flood ?
Thanks.
On Fri, Oct 12, 2012 at 10:27 AM, Herbert Xu
[off-list ref] wrote:
On Fri, Oct 12, 2012 at 10:14:00AM +0800, Lin Ming wrote:
quoted
Do you mean adding a sysfs entry, for example
/sys/class/net/br0/bridge/multicast_no_flood ?
Yes something like that.
Or a better name: multicast_fast_leave
Quote from Internet:
"
IGMP Fast Leave enhances your control over router or switch bandwidth.
Enabling Fast Leave tells IGMP snooping to stop the transmission of a
group multicast stream to a port as soon as it receives a Leave message
on that port. No timeouts are observed.
Ordinarily, when IGMP snooping sees a Leave message, it waits for a
Membership Query message before setting the entry timeout to 2 seconds.
Fast Leave tells IGMP to drop the entry from the port as soon as the
Leave message is seen. For this reason, Fast Leave should only be
configured on interfaces that have one client per port.
"
I'm going to add fast leave support. It would need other changes in
addition to this patch.
Thanks.