summaryrefslogtreecommitdiffstats
path: root/net/test
diff options
context:
space:
mode:
authorMaciej Żenczykowski <maze@google.com>2020-05-11 10:00:17 -0700
committerMaciej Żenczykowski <maze@google.com>2020-05-11 10:49:02 -0700
commit6ca3e443c20988157bc69d6191c4f8a7741b7241 (patch)
tree028e97d3abb9dd993af3b88b66d0786fe11b3c3e /net/test
parent32de2052a475979de1913f5ab8d9c121dc2155c8 (diff)
downloadkernel_tests-6ca3e443c20988157bc69d6191c4f8a7741b7241.tar.gz
kernel_tests-6ca3e443c20988157bc69d6191c4f8a7741b7241.tar.bz2
kernel_tests-6ca3e443c20988157bc69d6191c4f8a7741b7241.zip
net-test: truly wide open ping_group_range
There is simply no good reason to use 65536, since it doesn't fit in 16 bits anyway. Use the maximum supported value instead. This matches what we use on Android itself. Test: ran uml net_tests against Android Kernel Common 5.4 Signed-off-by: Maciej Żenczykowski <maze@google.com> Change-Id: I4346304180c4dbf803241b7d1732ef4e2b576be8
Diffstat (limited to 'net/test')
-rwxr-xr-xnet/test/net_test.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/test/net_test.sh b/net/test/net_test.sh
index 9b9773e6..6a22c0ec 100755
--- a/net/test/net_test.sh
+++ b/net/test/net_test.sh
@@ -149,7 +149,7 @@ ip link set lo mtu 16436
ip link set eth0 up
# Allow people to run ping.
-echo "0 65536" > /proc/sys/net/ipv4/ping_group_range
+echo '0 2147483647' > /proc/sys/net/ipv4/ping_group_range
# Read environment variables passed to the kernel to determine if script is
# running on builder and to find which test to run.