bpf is required for all devices running Android S
Test: builds, atest, TreeHugger Signed-off-by: Maciej Żenczykowski <maze@google.com> Change-Id: Ie3f1146f71f75b982ffc4cd4176c5624efb6a63e
This commit is contained in:
parent
b8163155e3
commit
f7a0a39d05
1 changed files with 0 additions and 2 deletions
|
@ -82,8 +82,6 @@ int loadAllElfObjects(const char* progDir) {
|
|||
}
|
||||
|
||||
int main() {
|
||||
if (!android::bpf::isBpfSupported()) return 0;
|
||||
|
||||
// Load all ELF objects, create programs and maps, and pin them
|
||||
for (const auto dir : {BPF_PROG_PATH_MAINLINE_TETHERING, BPF_PROG_PATH_SYSTEM}) {
|
||||
if (loadAllElfObjects(dir) != 0) {
|
||||
|
|
Loading…
Reference in a new issue