diff options
author | Ethan Jackson <ethan@nicira.com> | 2012-06-25 15:48:10 -0700 |
---|---|---|
committer | Ethan Jackson <ethan@nicira.com> | 2012-07-05 15:03:34 -0700 |
commit | bd3affc9acb6b14f889e51cd5d3846b52e67206a (patch) | |
tree | 7a31b8b7ebcb2c9b88a9be3c4d5a82db7044a546 /lib/bond.c | |
parent | 6e23fe72d378bc22beb3d4c05b3f1a9cdfac942b (diff) |
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 <ethan@nicira.com>
Diffstat (limited to 'lib/bond.c')
-rw-r--r-- | lib/bond.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; } |