bridge: implement multicast fast leave
authorDavid S. Miller <davem@davemloft.net>
Wed, 5 Dec 2012 21:24:45 +0000 (16:24 -0500)
committerDavid S. Miller <davem@davemloft.net>
Wed, 5 Dec 2012 21:24:45 +0000 (16:24 -0500)
commitc2d3babfafbb9f6629cfb47139758e59a5eb0d80
treeb8c1c6a8a89155f8b48c0d1dbedb23d88081fab5
parent0d650ec75a0d2525dbc98f1a04ed0b2a4bf5d3ac
bridge: implement multicast fast leave

V3: make it a flag
V2: make the toggle per-port

Fast leave allows bridge to immediately stops the multicast
traffic on the port receives IGMP Leave when IGMP snooping is enabled,
no timeouts are observed.

Cc: Herbert Xu <herbert@gondor.apana.org.au>
Cc: Stephen Hemminger <shemminger@vyatta.com>
Cc: "David S. Miller" <davem@davemloft.net>
Signed-off-by: Cong Wang <amwang@redhat.com>
include/uapi/linux/if_link.h
net/bridge/br_multicast.c
net/bridge/br_netlink.c
net/bridge/br_private.h
net/bridge/br_sysfs_if.c