From bd3affc9acb6b14f889e51cd5d3846b52e67206a Mon Sep 17 00:00:00 2001 From: Ethan Jackson Date: Mon, 25 Jun 2012 15:48:10 -0700 Subject: [PATCH] bond: Don't send learning packets on STABLE bonds. 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 --- lib/bond.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/bond.c b/lib/bond.c index 54f2d0e0..b9d58b46 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; } -- 2.30.2