From: Ben Pfaff Date: Tue, 29 Mar 2011 17:16:43 +0000 (-0700) Subject: bridge: Avoid redundant dpif_flow_flush(). X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=79efe70efcc57414f43a2d10fbacae25aa6e43ca;p=openvswitch bridge: Avoid redundant dpif_flow_flush(). ofproto_create() also calls dpif_flow_flush() very soon afterward. This seems more clearly in ofproto's domain anyhow. --- diff --git a/vswitchd/bridge.c b/vswitchd/bridge.c index b87dfdff..44474966 100644 --- 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);