]> git.baikalelectronics.ru Git - kernel.git/commit
bridge: multicast: start querier timer when running user-space stp
authorNikolay Aleksandrov <nikolay@cumulusnetworks.com>
Fri, 19 Jun 2015 08:45:50 +0000 (01:45 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 23 Jun 2015 10:29:54 +0000 (03:29 -0700)
commitf074613604ae66fe638bb1eea5573afd9af56bd2
treeab4b5db369fe94a6f8c4c93632db7dfc3374f6c9
parent82f06154c81838c22341e71113c1fa22664fd679
bridge: multicast: start querier timer when running user-space stp

When STP is running in user-space and querier is configured, the
querier timer is not started when a port goes to a non-blocking state.
This patch unifies the user- and kernel-space stp multicast port enable
path and enables it in all states different from blocking. Note that when a
port goes in BR_STATE_DISABLED it's not enabled because that is handled
in the beginning of the port list loop.

Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_stp.c