[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1434540511-648-3-git-send-email-nikolay@cumulusnetworks.com>
Date: Wed, 17 Jun 2015 04:28:31 -0700
From: Nikolay Aleksandrov <nikolay@...ulusnetworks.com>
To: netdev@...r.kernel.org
Cc: stephen@...workplumber.org, herbert@...dor.apana.org.au,
davem@...emloft.net, sashok@...ulusnetworks.com,
Nikolay Aleksandrov <nikolay@...ulusnetworks.com>
Subject: [PATCH net 2/2] bridge: multicast: start querier timer when running user-space stp
From: Satish Ashok <sashok@...ulusnetworks.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 <sashok@...ulusnetworks.com>
Signed-off-by: Nikolay Aleksandrov <nikolay@...ulusnetworks.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 majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists