diff --git a/tests/cts/net/src/android/net/ipv6/cts/PingTest.java b/tests/cts/net/src/android/net/ipv6/cts/PingTest.java index 41eb03d34d..2c8aaef4bc 100644 --- a/tests/cts/net/src/android/net/ipv6/cts/PingTest.java +++ b/tests/cts/net/src/android/net/ipv6/cts/PingTest.java @@ -34,6 +34,21 @@ import java.nio.ByteBuffer; import java.util.Arrays; import java.util.Random; +/** + * Checks that the device has kernel support for the IPv6 ping socket. This allows ping6 to work + * without root privileges. The necessary kernel code is in Linux 3.11 or above, or the + * common/android-3.x kernel trees. If you are not running one of these kernels, the + * functionality can be obtained by cherry-picking the following patches from David Miller's + * net-next tree: + * + * or the equivalent backports to the common/android-3.x trees. + */ public class PingTest extends AndroidTestCase { /** Maximum size of the packets we're using to test. */ private static final int MAX_SIZE = 4096;