diff options
author | Maciej Żenczykowski <maze@google.com> | 2020-05-11 10:00:17 -0700 |
---|---|---|
committer | Maciej Żenczykowski <maze@google.com> | 2020-05-11 15:52:31 -0700 |
commit | 30e280fa9535203ab8302fd4e6bd04fc8daf7786 (patch) | |
tree | 028e97d3abb9dd993af3b88b66d0786fe11b3c3e | |
parent | 461542279e45c4caec692c25974c92c92c54f5e3 (diff) | |
download | tests-30e280fa9535203ab8302fd4e6bd04fc8daf7786.tar.gz |
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.
Bug: 149894399
Test: ran uml net_tests against Android Kernel Common 5.4
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: I4346304180c4dbf803241b7d1732ef4e2b576be8
Merged-In: I4346304180c4dbf803241b7d1732ef4e2b576be8
-rwxr-xr-x | net/test/net_test.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/test/net_test.sh b/net/test/net_test.sh index 9b9773e..6a22c0e 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. |