Skip to content
Snippets Groups Projects
Commit 8a4323c7 authored by Nanhumly's avatar Nanhumly Committed by Mohammad Hasan Keramat J
Browse files

netbpfload: Relax kernel version requirement


Change-Id: Ic875fd15b407c0cb387fc51ee5a9dc6e132db2d1
Signed-off-by: default avatarNanhumly <admin@warbler.cc>
parent 579361cb
No related branches found
No related tags found
No related merge requests found
...@@ -177,8 +177,7 @@ int main(int argc, char** argv, char * const envp[]) { ...@@ -177,8 +177,7 @@ int main(int argc, char** argv, char * const envp[]) {
const bool isAtLeastU = (device_api_level >= __ANDROID_API_U__); const bool isAtLeastU = (device_api_level >= __ANDROID_API_U__);
if (!android::bpf::isAtLeastKernelVersion(4, 19, 0)) { if (!android::bpf::isAtLeastKernelVersion(4, 19, 0)) {
ALOGE("Android U QPR2 requires kernel 4.19."); ALOGW("Android U QPR2 requires kernel 4.19.");
return 1;
} }
if (android::bpf::isUserspace32bit() && android::bpf::isAtLeastKernelVersion(6, 2, 0)) { if (android::bpf::isUserspace32bit() && android::bpf::isAtLeastKernelVersion(6, 2, 0)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment