From: Andy Zhou <[email protected]> Bond recirculation needs to refresh the 'hidden rules' from time to time. Keep hash entry slave valid to prevent those hidden rules from being removed.
Signed-off-by: Andy Zhou <[email protected]> --- ofproto/bond.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/ofproto/bond.c b/ofproto/bond.c index c0f79c9..b1b8997 100644 --- a/ofproto/bond.c +++ b/ofproto/bond.c @@ -1179,9 +1179,6 @@ bond_rebalance(struct bond *bond) * take 20 rebalancing runs to decay to 0 and get deleted entirely. */ for (e = &bond->hash[0]; e <= &bond->hash[BOND_MASK]; e++) { e->tx_bytes /= 2; - if (!e->tx_bytes) { - e->slave = NULL; - } } done: -- 1.9.1 _______________________________________________ dev mailing list [email protected] http://openvswitch.org/mailman/listinfo/dev
