bridge: Interface may be configured with incorrect QoS.
authorEthan Jackson <ethan@nicira.com>
Wed, 25 May 2011 20:23:49 +0000 (13:23 -0700)
committerEthan Jackson <ethan@nicira.com>
Wed, 25 May 2011 20:23:49 +0000 (13:23 -0700)
Bug #5739.

vswitchd/bridge.c

index d150857..4b5d0fa 100644 (file)
@@ -401,7 +401,7 @@ bridge_reconfigure(const struct ovsrec_open_vswitch *ovs_cfg)
 
             port_configure(port);
 
-            HMAP_FOR_EACH (iface, ofp_port_node, &br->ifaces) {
+            LIST_FOR_EACH (iface, port_elem, &port->ifaces) {
                 iface_configure_cfm(iface);
                 iface_configure_qos(iface, port->cfg->qos);
                 iface_set_mac(iface);