projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
143af30
)
ofproto-dpif: Actually disable STP on port when disabling STP on port.
author
Justin Pettit
<jpettit@nicira.com>
Wed, 9 Nov 2011 01:31:04 +0000
(17:31 -0800)
committer
Justin Pettit
<jpettit@nicira.com>
Wed, 9 Nov 2011 01:31:04 +0000
(17:31 -0800)
When disabling STP on a port that has it enabled on the bridge, STP was
not actually being disabled on the port. This commit directly calls the
update function in this situation.
Reported-by: Paul Ingram <paul@nicira.com>
ofproto/ofproto-dpif.c
patch
|
blob
|
history
diff --git
a/ofproto/ofproto-dpif.c
b/ofproto/ofproto-dpif.c
index 9fdc489daf9f0d696cec342f777804cf55453947..0def71dd261bbcbd32fe421bb019a127e96d7432 100644
(file)
--- a/
ofproto/ofproto-dpif.c
+++ b/
ofproto/ofproto-dpif.c
@@
-1065,6
+1065,7
@@
set_stp_port(struct ofport *ofport_,
if (sp) {
ofport->stp_port = NULL;
stp_port_disable(sp);
+ update_stp_port_state(ofport);
}
return 0;
} else if (sp && stp_port_no(sp) != s->port_num