bridge: Add multicast_snooping sysfs toggle
authorHerbert Xu <herbert@gondor.apana.org.au>
Sat, 27 Feb 2010 19:41:50 +0000 (19:41 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 28 Feb 2010 08:49:46 +0000 (00:49 -0800)
commit561f1103a2b70de7e06e1e7fd072a5b142a4278c
tree219508a45a357c6dbd5e2fdf4924a474a6bab356
parent0909e11758bd28848aeb6646e021ec1e031a3f0f
bridge: Add multicast_snooping sysfs toggle

This patch allows the user to disable IGMP snooping completely
through a sysfs toggle.  It also allows the user to reenable
snooping when it has been automatically disabled due to hash
collisions.  If the collisions have not been resolved however
the system will refuse to reenable snooping.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_multicast.c
net/bridge/br_private.h
net/bridge/br_sysfs_br.c