Thread (18 messages) 18 messages, 4 authors, 2012-11-01

Re: [PATCH net-next 3/8] bridge: implement BPDU blocking

From: Cong Wang <hidden>
Date: 2012-10-31 02:39:03

On Tue, 30 Oct 2012 at 00:57 GMT, Stephen Hemminger [off-list ref] wrote:
quoted hunk ↗ jump to hunk
--- a/net/bridge/br_stp_bpdu.c	2012-10-29 17:07:08.005982838 -0700
+++ b/net/bridge/br_stp_bpdu.c	2012-10-29 17:31:14.327457434 -0700
@@ -170,6 +170,13 @@ void br_stp_rcv(const struct stp_proto *
 	if (!ether_addr_equal(dest, br->group_addr))
 		goto out;
 
+	if (p->flags & BR_BPDU_GUARD) {
+		br_notice(br, "BPDU received on blocked port %u(%s)\n",
+			  (unsigned int) p->port_no, p->dev->name);
net_ratelimit() ?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help