]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commiteace0c4f584b9c832d6bedd427e3256760befd22
treeb57fc65073c189e8b310d4352a7293e435b0a6ff
parentf565257dc65236c432f4df4d684f3ea3c4a81904
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