From: Ethan Jackson Date: Mon, 25 Jun 2012 22:48:10 +0000 (-0700) Subject: bond: Don't send learning packets on STABLE bonds. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bd3affc9acb6b14f889e51cd5d3846b52e67206a;p=openvswitch 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 --- 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; }