commit | cc6cbb7c1b804ac76fa29cb6e4dd87cfa1c3e3f6 | [log] [tgz] |
---|---|---|
author | Chenbo Feng <fengc@google.com> | Tue May 08 13:45:08 2018 -0700 |
committer | Chenbo Feng <fengc@google.com> | Thu May 10 23:14:51 2018 -0700 |
tree | 92a9b6eafcadc0f032e593d082610b1fc7024327 | |
parent | e2d7ab91d79f5b9807ff24e1b813b982167f9e6f [diff] |
Check for first api level before turn on eBPF The api check will ensure the device is running 4.9 or above kernel and is shipped originally with P release. Also add some test to make sure eligible devices always have eBPF turned on. Test: ./netd_integration_test Bug: 79408692 Change-Id: Ief56a95aab892c92276a5b4ac74b03f9f32f5b54 Merged-In: Ief56a95aab892c92276a5b4ac74b03f9f32f5b54 (cherry picked from aosp commit 837ddfcbd7a72a7f74f7281024a4e9a86ed05a02)