original_kernel/drivers/net/bonding
Mahesh Bandewar 5d485ed88d bonding: fix active-backup transition after link failure
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>
2019-12-14 16:22:34 -08:00
..
Makefile
bond_3ad.c
bond_alb.c net: remove unnecessary variables and callback 2019-10-24 14:53:49 -07:00
bond_debugfs.c
bond_main.c bonding: fix active-backup transition after link failure 2019-12-14 16:22:34 -08:00
bond_netlink.c
bond_options.c
bond_procfs.c
bond_sysfs.c
bond_sysfs_slave.c
bonding_priv.h