NetBpfLoad: Relax 5.10 kernel requirement
5.4 still works, so allow it for now. Change-Id: Iea2407e323d5a99495630f877a119259ec82b643
This commit is contained in:
parent
42374b293f
commit
8e92e094e9
1 changed files with 1 additions and 2 deletions
|
|
@ -1634,8 +1634,7 @@ static int doLoad(char** argv, char * const envp[]) {
|
||||||
// 25Q4 bumps the kernel requirement up to 5.10
|
// 25Q4 bumps the kernel requirement up to 5.10
|
||||||
// see also: //system/netd/tests/kernel_test.cpp TestKernel510
|
// see also: //system/netd/tests/kernel_test.cpp TestKernel510
|
||||||
if (isAtLeast25Q4 && !isAtLeastKernelVersion(5, 10)) {
|
if (isAtLeast25Q4 && !isAtLeastKernelVersion(5, 10)) {
|
||||||
ALOGE("Android 25Q4 requires kernel 5.10.");
|
ALOGW("Android 25Q4 requires kernel 5.10.");
|
||||||
return 7;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Technically already required by U, but only enforce on V+
|
// Technically already required by U, but only enforce on V+
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue