From: Ben Pfaff Date: Thu, 17 Mar 2011 22:14:46 +0000 (-0700) Subject: bridge: Don't bother revalidating in combination with bridge_flush(). X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fd5f9a4f6f3e4165a61c5cad4e8b1ff319b55d79;p=openvswitch bridge: Don't bother revalidating in combination with bridge_flush(). iface_destroy() always calls bridge_flush(), which causes every flow to be revalidated, so there is no point in revalidating individual tags also. --- diff --git a/vswitchd/bridge.c b/vswitchd/bridge.c index 1bf4148f..949a63ee 100644 --- a/vswitchd/bridge.c +++ b/vswitchd/bridge.c @@ -4368,7 +4368,6 @@ iface_destroy(struct iface *iface) netdev_close(iface->netdev); if (del_active) { - ofproto_revalidate(port->bridge->ofproto, port->active_iface_tag); bond_choose_active_iface(port); bond_send_learning_packets(port); }