bond: fix uninitialized use of use_recirc variable
[sliver-openvswitch.git] / ofproto / bond.c
index f5a9d47..c1a8448 100644 (file)
@@ -1180,10 +1180,11 @@ bond_rebalance(struct bond *bond)
         e->tx_bytes /= 2;
     }
 
-done:
     if (use_recirc && rebalanced) {
         bond_update_post_recirc_rules(bond,true);
     }
+
+done:
     ovs_rwlock_unlock(&rwlock);
 }
 \f