]> git.baikalelectronics.ru Git - kernel.git/commit
bridge: Add multicast_querier toggle and disable queries by default
authorHerbert Xu <herbert@gondor.apana.org.au>
Fri, 13 Apr 2012 02:37:42 +0000 (02:37 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 15 Apr 2012 16:51:35 +0000 (12:51 -0400)
commit2c14bbde598b419f9728e1a2f3abac22cc090340
tree2e0f5ce991fd3d3ad77e61745c84a4ca32b8601d
parent078d14db2470a18636633a3cccc6f54bf986a850
bridge: Add multicast_querier toggle and disable queries by default

Sending general queries was implemented as an optimisation to speed
up convergence on start-up.  In order to prevent interference with
multicast routers a zero source address has to be used.

Unfortunately these packets appear to cause some multicast-aware
switches to misbehave, e.g., by disrupting multicast packets to us.

Since the multicast snooping feature still functions without sending
our own queries, this patch will change the default to not send
queries.

For those that need queries in order to speed up convergence on start-up,
a toggle is provided to restore the previous behaviour.

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