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>
if (sp) {
ofport->stp_port = NULL;
stp_port_disable(sp);
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
}
return 0;
} else if (sp && stp_port_no(sp) != s->port_num