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 d150857927ef5228d6201708e86918d9f6c39e84..4b5d0faa9b60bf58d7c3fafa4017e1bde0c278af 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);