]> git.baikalelectronics.ru Git - kernel.git/commit
bonding: fix bond_open() don't always set slave active flag
authorWilson Kok <wkok@cumulusnetworks.com>
Mon, 26 Jan 2015 06:16:58 +0000 (01:16 -0500)
committerDavid S. Miller <davem@davemloft.net>
Wed, 28 Jan 2015 01:09:03 +0000 (17:09 -0800)
commitce276f92d401876504ad86ab189ff22ac45b92e6
tree20603f5ff09cca3ede3772f2714eade50481cdbc
parent905d7489b4d90bb4408f4ababb87b2ab0fdf70d0
bonding: fix bond_open() don't always set slave active flag

Mode 802.3ad, fix incorrect bond slave active state when slave is not in
active aggregator. During bond_open(), the bonding driver always sets
the slave active flag to true if the bond is not in active-backup, alb,
or tlb modes. Bonding should let the aggregator selection logic set the
active flag when in 802.3ad mode.

Cc: Andy Gospodarek <gospo@cumulusnetworks.com>
Reviewed-by: Nikolay Aleksandrov <nikolay@redhat.com>
Signed-off-by: Wilson Kok <wkok@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_main.c