bridge: Allow multicast snooping to be disabled before ifup
authorHerbert Xu <herbert@gondor.apana.org.au>
Thu, 29 Jul 2010 00:45:30 +0000 (00:45 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 31 Jul 2010 06:38:58 +0000 (23:38 -0700)
commit3a7fda06ba48e97650fe44ea8e8a7cc385e1c100
tree115a1d78f4d9c8a45f04ad35029374fe2050884a
parentde140b0d511ad86a5dd0888c9095ae030ada2e86
bridge: Allow multicast snooping to be disabled before ifup

Currently you cannot disable multicast snooping while a device is
down.  There is no good reason for this restriction and this patch
removes it.

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