From dc30ea2d9df90f5aaa75427c93116f0258d22789 Mon Sep 17 00:00:00 2001 From: Alex Wang Date: Thu, 22 Aug 2013 11:29:04 -0700 Subject: [PATCH] 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 --- lib/bond.c | 1 + 1 file changed, 1 insertion(+) 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; } -- 2.43.0