bridge: Don't bother revalidating in combination with bridge_flush().
authorBen Pfaff <blp@nicira.com>
Thu, 17 Mar 2011 22:14:46 +0000 (15:14 -0700)
committerBen Pfaff <blp@nicira.com>
Tue, 22 Mar 2011 00:01:48 +0000 (17:01 -0700)
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

index 1bf4148..949a63e 100644 (file)
@@ -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);
         }