ofproto/bond: Drop traffic in balance-tcp mode without lacp.
The balance-tcp mode requires the upstream switch to support 802.3ad
with successful LACP negotiation. When bond ports are configured to
balance-tcp mode without lacp, drop the traffic.
@@ -786,7 +786,11 @@ bond_check_admissibility(struct bond *bond, const void *slave_,
if (!bond->lacp_fallback_ab) {
goto out;
}
+ break;
case LACP_DISABLED:
+ if (bond->balance == BM_TCP) {
+ goto out;
+ }
break;
}
