aboutsummaryrefslogtreecommitdiff
path: root/vswitchd
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2011-11-14 10:28:31 -0800
committerBen Pfaff <blp@nicira.com>2011-11-23 13:19:53 -0800
commita70e4b2a0a8e0dead971c37872fb3c454908f2b6 (patch)
treeb710c122cd6c2623b204eff5faebe0f934402810 /vswitchd
parent59d0f2c8a0a16ef5ebc35e815bd82605b70fa7e2 (diff)
bridge: Fix incorrect comments.
Diffstat (limited to 'vswitchd')
-rw-r--r--vswitchd/bridge.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/vswitchd/bridge.c b/vswitchd/bridge.c
index 3aac5ce8..ce3a7887 100644
--- a/vswitchd/bridge.c
+++ b/vswitchd/bridge.c
@@ -373,8 +373,8 @@ bridge_reconfigure(const struct ovsrec_open_vswitch *ovs_cfg)
* iface"s according to 'ovs_cfg', with only very minimal configuration
* otherwise.
*
- * This is purely an update to bridge data structures. Nothing is pushed
- * down to ofproto or lower layers. */
+ * This is mostly an update to bridge data structures. Very little is
+ * pushed down to ofproto or lower layers. */
add_del_bridges(ovs_cfg);
HMAP_FOR_EACH (br, node, &all_bridges) {
bridge_add_del_ports(br);
@@ -2189,8 +2189,7 @@ bridge_add_del_ports(struct bridge *br)
}
/* Get rid of deleted ports.
- * Get rid of deleted interfaces on ports that still exist.
- * Update 'cfg' of ports that still exist. */
+ * Get rid of deleted interfaces on ports that still exist. */
HMAP_FOR_EACH_SAFE (port, next, hmap_node, &br->ports) {
port->cfg = shash_find_data(&new_ports, port->name);
if (!port->cfg) {