projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb5bc6c
)
bridge: Avoid redundant dpif_flow_flush().
author
Ben Pfaff
<blp@nicira.com>
Tue, 29 Mar 2011 17:16:43 +0000
(10:16 -0700)
committer
Ben Pfaff
<blp@nicira.com>
Fri, 1 Apr 2011 22:52:20 +0000
(15:52 -0700)
ofproto_create() also calls dpif_flow_flush() very soon afterward. This
seems more clearly in ofproto's domain anyhow.
vswitchd/bridge.c
patch
|
blob
|
history
diff --git
a/vswitchd/bridge.c
b/vswitchd/bridge.c
index b87dfdffb50637e988a8bb7399ae4993993c1ed2..44474966ead69747977ec55e387533767017c19f 100644
(file)
--- a/
vswitchd/bridge.c
+++ b/
vswitchd/bridge.c
@@
-1644,7
+1644,6
@@
bridge_create(const struct ovsrec_bridge *br_cfg)
free(br);
return NULL;
}
- dpif_flow_flush(br->dpif);
error = ofproto_create(br_cfg->name, br_cfg->datapath_type, &bridge_ofhooks,
br, &br->ofproto);