]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - net/bridge/br_private.h
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)
commitc5c23260594c5701af66ef754916775ba6a46bbc
tree2e0f5ce991fd3d3ad77e61745c84a4ca32b8601d
parentc83b8fab06fc8c80d6440649f117bb7541df5fd0
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