ofproto: Disable STP when unregistering a port.
[openvswitch] / ofproto / ofproto-dpif.c
index 4cc720667d143dff167fd4ae42bdcb8c95fbe46b..e89ae893fee1f319e677656851a06fd40219972f 100644 (file)
@@ -1035,7 +1035,7 @@ update_stp_port_state(struct ofport_dpif *ofport)
         ofport->stp_state = state;
         ofport->stp_state_entered = time_msec();
 
-        if (fwd_change) {
+        if (fwd_change && ofport->bundle) {
             bundle_update(ofport->bundle);
         }