summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorHangbin Liu <liuhangbin@gmail.com>2022-12-12 06:56:46 +0300
committerJakub Kicinski <kuba@kernel.org>2022-12-14 06:19:32 +0300
commite95cc44763a41d5c715ef16742bcb1d8e6524a62 (patch)
tree52004b38164763de7c7b19173025cd7eb691118b /tools/perf/scripts/python
parent3d0b738fc5adf9f380702ac1424672e4b32c3781 (diff)
downloadlinux-e95cc44763a41d5c715ef16742bcb1d8e6524a62.tar.xz
bonding: do failover when high prio link up
Currently, when a high prio link enslaved, or when current link down, the high prio port could be selected. But when high prio link up, the new active slave reselection is not triggered. Fix it by checking link's prio when getting up. Making the do_failover after looping all slaves as there may be multi high prio slaves up. Reported-by: Liang Li <liali@redhat.com> Fixes: 0a2ff7cc8ad4 ("Bonding: add per-port priority for failover re-selection") Signed-off-by: Hangbin Liu <liuhangbin@gmail.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions