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 <et...@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

_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to