diff options
author | Mahesh Bandewar <maheshb@google.com> | 2019-12-07 02:44:55 +0300 |
---|---|---|
committer | Jakub Kicinski <jakub.kicinski@netronome.com> | 2019-12-15 03:22:34 +0300 |
commit | 5d485ed88d48f8101a2067348e267c0aaf4ed486 (patch) | |
tree | 690090f164e7b8c9f28c3b5e05df5a58ead05853 /tools | |
parent | 7ae1629d4db0d68d6c332bcb4f0457b4fc7ab4aa (diff) | |
download | linux-5d485ed88d48f8101a2067348e267c0aaf4ed486.tar.xz |
bonding: fix active-backup transition after link failure
After the recent fix in commit 1899bb325149 ("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: 1899bb325149 ("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>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions