From: Alex Wang Date: Thu, 22 Aug 2013 18:29:04 +0000 (-0700) Subject: bond: Fix error in bond_shift_load(). X-Git-Tag: sliver-openvswitch-2.0.90-1~20^2~12 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=dc30ea2d9df90f5aaa75427c93116f0258d22789;hp=afe2143da9445d4d7d33f20056dc6133a259a2e1;p=sliver-openvswitch.git bond: Fix error in bond_shift_load(). 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 Signed-off-by: Ben Pfaff --- diff --git a/lib/bond.c b/lib/bond.c index 3834774d4..5be1bae3e 100644 --- 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; }