aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2020-07-29 12:16:21 -0700
committerDavid S. Miller <davem@davemloft.net>2020-07-29 12:16:21 -0700
commit5d104a5f325e16ef92ffc05b93eabdf6f0818c9f (patch)
treebb7d75ce89ffd1845ae8f48e0d730c62226a12c4 /tools
parentipv4: Silence suspicious RCU usage warning (diff)
parentselftests: ethtool: Fix test when only two speeds are supported (diff)
downloadlinux-dev-5d104a5f325e16ef92ffc05b93eabdf6f0818c9f.tar.xz
linux-dev-5d104a5f325e16ef92ffc05b93eabdf6f0818c9f.zip
Merge branch 'mlxsw-fixes'
Ido Schimmel says: ==================== mlxsw fixes This patch set contains various fixes for mlxsw. Patches #1-#2 fix two trap related issues introduced in previous cycle. Patches #3-#5 fix rare use-after-frees discovered by syzkaller. After over a week of fuzzing with the fixes, the bugs did not reproduce. Patch #6 from Amit fixes an issue in the ethtool selftest that was recently discovered after running the test on a new platform that supports only 1Gbps and 10Gbps speeds. ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools')
-rwxr-xr-xtools/testing/selftests/net/forwarding/ethtool.sh2
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/testing/selftests/net/forwarding/ethtool.sh b/tools/testing/selftests/net/forwarding/ethtool.sh
index eb8e2a23bbb4..43a948feed26 100755
--- a/tools/testing/selftests/net/forwarding/ethtool.sh
+++ b/tools/testing/selftests/net/forwarding/ethtool.sh
@@ -252,8 +252,6 @@ check_highest_speed_is_chosen()
fi
local -a speeds_arr=($(common_speeds_get $h1 $h2 0 1))
- # Remove the first speed, h1 does not advertise this speed.
- unset speeds_arr[0]
max_speed=${speeds_arr[0]}
for current in ${speeds_arr[@]}; do