linux-uconsole/drivers/net/bonding
Mahesh Bandewar 74c4ed6c9c bonding: fix active-backup transition after link failure
[ Upstream commit 5d485ed88d ]

After the recent fix in commit 1899bb3251 ("bonding: fix state
transition issue in link monitoring"), the active-backup mode with
miimon initially come-up fine but after a link-failure, both members
transition into backup state.

Following steps to reproduce the scenario (eth1 and eth2 are the
slaves of the bond):

    ip link set eth1 up
    ip link set eth2 down
    sleep 1
    ip link set eth2 up
    ip link set eth1 down
    cat /sys/class/net/eth1/bonding_slave/state
    cat /sys/class/net/eth2/bonding_slave/state

Fixes: 1899bb3251 ("bonding: fix state transition issue in link monitoring")
CC: Jay Vosburgh <jay.vosburgh@canonical.com>
Signed-off-by: Mahesh Bandewar <maheshb@google.com>
Acked-by: Jay Vosburgh <jay.vosburgh@canonical.com>
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-01-04 19:13:23 +01:00
..
bond_3ad.c bonding: fix 802.3ad state sent to partner when unbinding slave 2018-12-21 14:15:16 +01:00
bond_alb.c bonding: allow use of tx hashing in balance-alb 2018-05-16 12:15:11 -04:00
bond_debugfs.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
bond_main.c bonding: fix active-backup transition after link failure 2020-01-04 19:13:23 +01:00
bond_netlink.c bonding: fix length of actor system 2018-11-04 14:50:52 +01:00
bond_options.c bonding: fix arp_validate toggling in active-backup mode 2019-05-16 19:41:29 +02:00
bond_procfs.c bonding: switch to proc_create_seq_data 2018-05-16 07:24:30 +02:00
bond_sysfs.c bonding: don't cast const buf in sysfs store 2018-07-22 10:09:30 -07:00
bond_sysfs_slave.c bonding: show full hw address in sysfs for slave entries 2019-05-08 07:21:47 +02:00
bonding_priv.h
Makefile