git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ofproto/bond: Keep hash entry slave valid.
[sliver-openvswitch.git]
/
ofproto
/
bond.c
diff --git
a/ofproto/bond.c
b/ofproto/bond.c
index
c0f79c9
..
b1b8997
100644
(file)
--- 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: