bonding: fix LACP PDU not sent on slave port sometimes
authorSatish Ashok <sashok@cumulusnetworks.com>
Mon, 26 Jan 2015 06:17:00 +0000 (01:17 -0500)
committerDavid S. Miller <davem@davemloft.net>
Wed, 28 Jan 2015 01:09:04 +0000 (17:09 -0800)
commit2f6373245a09e2a34f36df7d982f783291ec8fce
treeb57fc65073c189e8b310d4352a7293e435b0a6ff
parent63b46242f707849a1df10b70e026281bfa40e849
bonding: fix LACP PDU not sent on slave port sometimes

When a slave is added to a bond and it is not in full duplex mode,
AD_PORT_LACP_ENABLED flag is cleared, due to this LACP PDU is not sent
on slave. When the duplex is changed to full, the flag needs to be set
to send LACP PDU.

Cc: Andy Gospodarek <gospo@cumulusnetworks.com>
Reviewed-by: Nikolay Aleksandrov <nikolay@redhat.com>
Signed-off-by: Satish Ashok <sashok@cumulusnetworks.com>
Signed-off-by: Jonathan Toppins <jtoppins@cumulusnetworks.com>
Signed-off-by: Jay Vosburgh <jay.vosburgh@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_3ad.c