git://git.onelab.eu
/
sliver-openvswitch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
afe2143
)
bond: Fix error in bond_shift_load().
author
Alex Wang
<alexw@nicira.com>
Thu, 22 Aug 2013 18:29:04 +0000
(11:29 -0700)
committer
Ben Pfaff
<blp@nicira.com>
Thu, 22 Aug 2013 18:21:36 +0000
(11:21 -0700)
Commit
4a1b8f30e
(bond: Stop using tags.) introduced the bug that
prevents the load shifting when the traffic needs to be balanced.
This commit fixes this bug.
Signed-off-by: Alex Wang <alexw@nicira.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
lib/bond.c
patch
|
blob
|
history
diff --git
a/lib/bond.c
b/lib/bond.c
index
3834774
..
5be1bae
100644
(file)
--- a/
lib/bond.c
+++ b/
lib/bond.c
@@
-755,6
+755,7
@@
bond_shift_load(struct bond_entry *hash, struct bond_slave *to)
to->tx_bytes += delta;
/* Arrange for flows to be revalidated. */
+ hash->slave = to;
bond->bond_revalidate = true;
}