[ovs-dev] [PATCH 1/2] bond: Don't send learning packets on STABLE bonds.
Ethan Jackson
ethan at nicira.com
Mon Jun 25 22:51:29 UTC 2012
Stable bonds require upstream switch support to avoid confusing
learning tables. Therefore, sending learning packets on these
bonds doesn't make a lot of sense.
Signed-off-by: Ethan Jackson <ethan at nicira.com>
---
lib/bond.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/bond.c b/lib/bond.c
index 54f2d0e..b9d58b4 100644
--- a/lib/bond.c
+++ b/lib/bond.c
@@ -489,6 +489,7 @@ may_send_learning_packets(const struct bond *bond)
{
return bond->lacp_status == LACP_DISABLED
&& bond->balance != BM_AB
+ && bond->balance != BM_STABLE
&& bond->active_slave;
}
--
1.7.10.2
More information about the dev
mailing list