]> git.baikalelectronics.ru Git - kernel.git/commit
bonding: fix link down handling in 802.3ad mode
authorStephen Hemminger <shemminger@vyatta.com>
Fri, 15 May 2009 08:44:32 +0000 (08:44 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 18 May 2009 04:15:54 +0000 (21:15 -0700)
commit0b8470e8f89c2777a37c330150a42e64c2f1ceb7
treec50f35af42e89e72a3c37847dffe3b25d3fdc60c
parent99e8824e8938896489eaf86f6dbb1a14f5749054
bonding: fix link down handling in 802.3ad mode

One of the purposes of bonding is to allow for redundant links, and failover
correctly if the cable is pulled. If all the members of a bonded device have
no carrier present, the bonded device itself needs to report no carrier present
to user space so management tools (like routing daemons) can respond.

Bonding in 802.3ad mode does not work correctly for this because it incorrectly
chooses a link that is down as a possible aggregator.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: Jay Vosburgh <fubar@us.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_3ad.c