From: Satish Ashok <sas...@cumulusnetworks.com>

When STP is running in user-space and querier is configured, the
querier timer is not started when a port goes to forwarding state.

Signed-off-by: Satish Ashok <sas...@cumulusnetworks.com>
Signed-off-by: Nikolay Aleksandrov <niko...@cumulusnetworks.com>
Fixes: eb1d16414339 ("bridge: Add core IGMP snooping support")
---
 net/bridge/br_stp.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/net/bridge/br_stp.c b/net/bridge/br_stp.c
index fb3ebe615513..1e2f2f1ff6b0 100644
--- a/net/bridge/br_stp.c
+++ b/net/bridge/br_stp.c
@@ -456,6 +456,9 @@ void br_port_state_selection(struct net_bridge *br)
                                p->topology_change_ack = 0;
                                br_make_blocking(p);
                        }
+               } else if (br->stp_enabled == BR_USER_STP &&
+                          p->state == BR_STATE_FORWARDING) {
+                       br_multicast_enable_port(p);
                }
 
                if (p->state == BR_STATE_FORWARDING)
-- 
2.4.3

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to