[ovs-dev] [bridge 02/15] bridge: Don't bother revalidating in combination with bridge_flush().

Ben Pfaff blp at nicira.com
Mon Mar 21 17:59:43 UTC 2011


iface_destroy() always calls bridge_flush(), which causes every flow to be
revalidated, so there is no point in revalidating individual tags also.
---
 vswitchd/bridge.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/vswitchd/bridge.c b/vswitchd/bridge.c
index 1bf4148..949a63e 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);
         }
-- 
1.7.1




More information about the dev mailing list