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-Tag: sliver-openvswitch-1.8.90-0~48^2~283 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=bd3affc9acb6b14f889e51cd5d3846b52e67206a;p=sliver-openvswitch.git 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 54f2d0e0e..b9d58b464 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; }