[ovs-dev] [PATCH] bond: Send gratuitous ARPs when load balancing.
Ethan Jackson
ethan at nicira.com
Fri Jul 1 01:49:46 UTC 2011
According to the following documentation, we should be sending
gratuitous ARPs when rebalancing causes us to shift traffic to a
different slave.
http://support.citrix.com/article/CTX124421
---
lib/bond.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/lib/bond.c b/lib/bond.c
index 9a13874..4b46a11 100644
--- a/lib/bond.c
+++ b/lib/bond.c
@@ -847,6 +847,8 @@ bond_rebalance(struct bond *bond, struct tag_set *tags)
/* Re-sort 'bals'. */
reinsert_bal(&bals, from);
reinsert_bal(&bals, to);
+
+ bond->send_learning_packets = true;
} else {
/* Can't usefully migrate anything away from 'from'.
* Don't reconsider it. */
--
1.7.5.2
More information about the dev
mailing list