diff options
author | Wilson Kok <wkok@cumulusnetworks.com> | 2015-01-26 09:16:59 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-01-28 04:09:04 +0300 |
commit | 63b46242f707849a1df10b70e026281bfa40e849 (patch) | |
tree | b90aa0bb391d860341c88254969577565e76ffcc /arch/arm64 | |
parent | 8bbe71a5956f833ec0d940419d1d368de5f1b58b (diff) | |
download | linux-63b46242f707849a1df10b70e026281bfa40e849.tar.xz |
bonding: fix incorrect lacp mux state when agg not active
This patch attempts to fix the following problems when an actor or
partner's aggregator is not active:
1. a slave's lacp port state is marked as AD_STATE_SYNCHRONIZATION
even if it is attached to an inactive aggregator. LACP advertises
this state to the partner, making the partner think he can move
into COLLECTING_DISTRIBUTING state even though this link will not
pass traffic on the local side
2. a slave goes into COLLECTING_DISTRIBUTING state without checking
if the aggregator is actually active
3. when in COLLECTING_DISTRIBUTING state, the partner parameters may
change, e.g. the partner_oper_port_state.SYNCHRONIZATION. The
local mux machine is not reacting to the change and continue to
keep the slave and bond up
4. When bond slave leaves an inactive aggregator and joins an active
aggregator, the actor oper port state need to update to SYNC state.
v2:
* fix style issues in bond_3ad.c
Cc: Andy Gospodarek <gospo@cumulusnetworks.com>
Reviewed-by: Nikolay Aleksandrov <nikolay@redhat.com>
Signed-off-by: Wilson Kok <wkok@cumulusnetworks.com>
Signed-off-by: Jonathan Toppins <jtoppins@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/arm64')
0 files changed, 0 insertions, 0 deletions