aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJiri Pirko <jiri@resnulli.us>2014-04-23 16:22:36 +0200
committerJiri Pirko <jiri@resnulli.us>2014-04-23 18:00:29 +0200
commitff309e7a2434ccf87acd95a0071cd5d47173c239 (patch)
tree0216add7fd67117f77be33d8c59121ede20bf10d
parenta8e7d65f64b26be81b0ba97ce1c628d0c57374c2 (diff)
downloadlibteam-ff309e7a2434ccf87acd95a0071cd5d47173c239.tar.gz
teamd: lacp: do not check SYNCHRO flag before enable of port
This flag is set after this and it is set according to port_selected. So no need to check it here. Removing this avoids faulty carrier down in some scenarios. Signed-off-by: Jiri Pirko <jiri@resnulli.us>
-rw-r--r--teamd/teamd_runner_lacp.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/teamd/teamd_runner_lacp.c b/teamd/teamd_runner_lacp.c
index 3f3698e..1c4c378 100644
--- a/teamd/teamd_runner_lacp.c
+++ b/teamd/teamd_runner_lacp.c
@@ -318,7 +318,6 @@ static int lacp_port_should_be_enabled(struct lacp_port *lacp_port)
struct lacp *lacp = lacp_port->lacp;
if (lacp_port_selected(lacp_port) &&
- lacp_port->partner.state & INFO_STATE_SYNCHRONIZATION &&
lacp_port->agg_lead == lacp->selected_agg_lead)
return true;
return false;