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 1bf4148fa5d64932f2b65f929816a29e1349f788..949a63ee0cd31205b2e9873a2af7c4da0b365a15 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);
         }