aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorMahesh Bandewar <maheshb@google.com>2017-03-27 11:37:37 -0700
committerDavid S. Miller <davem@davemloft.net>2017-03-27 21:11:50 -0700
commitb5bf0f5b16b9c316c34df9f31d4be8729eb86845 (patch)
tree75541605c4bc1086f972d1fc8cda522143a4063c /tools/perf/scripts/python/bin
parentbonding: make speed, duplex setting consistent with link state (diff)
downloadlinux-b5bf0f5b16b9c316c34df9f31d4be8729eb86845.tar.gz
linux-b5bf0f5b16b9c316c34df9f31d4be8729eb86845.zip
bonding: correctly update link status during mii-commit phase
bond_miimon_commit() marks the link UP after attempting to get the speed and duplex settings for the link. There is a possibility that bond_update_speed_duplex() could fail. This is another place where it could result into an inconsistent bonding link state. With this patch the link will be marked UP only if the speed and duplex values retrieved have sane values and processed further. Signed-off-by: Mahesh Bandewar <maheshb@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions