Wed, Nov 07, 2018 at 04:09:17PM CET, mengkoon@live.com wrote:
Currently, when local port state become DEFAULTED, its Partner_State field is set to 0x00
Bit 1 in Actor_State and Partner_State field is for LACP_Timeout. When set, it means LACP fast is used.
If teamd_runner_lacp receives an LACPDU with Actor_State field bit 1 set, it transitions local port to CURRENT, and transmits LACPDU
If teamd_runner_lacp receives an LACPDU without Actor_State field bit 1 set, it transitions local port to CURRENT, but does not transmit LACPDU
The second scenario results in teamd starting data transmission when partner port remains in either Defaulted or Expired state, causing packets to be dropped by partner
Fix this by setting Partner_State field to 0x02 on the local port when local port state transitions to DEFAULTED
Signed-off-by: Meng Koon Lim mengkoon@live.com
applied, thanks.