netbpfload: Relax kernel version requirement
Change-Id: Ic875fd15b407c0cb387fc51ee5a9dc6e132db2d1
Signed-off-by: Nanhumly <admin@warbler.cc>
diff --git a/netbpfload/NetBpfLoad.cpp b/netbpfload/NetBpfLoad.cpp
index 6152287..ed5193d 100644
--- a/netbpfload/NetBpfLoad.cpp
+++ b/netbpfload/NetBpfLoad.cpp
@@ -177,8 +177,7 @@
const bool isAtLeastU = (device_api_level >= __ANDROID_API_U__);
if (!android::bpf::isAtLeastKernelVersion(4, 19, 0)) {
- ALOGE("Android U QPR2 requires kernel 4.19.");
- return 1;
+ ALOGW("Android U QPR2 requires kernel 4.19.");
}
if (android::bpf::isUserspace32bit() && android::bpf::isAtLeastKernelVersion(6, 2, 0)) {