NetBpfLoad: don't fail on S on kernels with buggy bpf arrays
Bug: 404427531 Test: TreeHugger Flag: EXEMPT mainline Signed-off-by: Maciej Żenczykowski <maze@google.com> Change-Id: Ib30a731d7faecfc7e52590e28350c3289fe26852
This commit is contained in:
parent
2714fb5ce7
commit
b3ddc8afad
1 changed files with 1 additions and 1 deletions
|
|
@ -1913,7 +1913,7 @@ static int doLoad(char** argv, char * const envp[]) {
|
|||
createMap(BPF_MAP_TYPE_ARRAY, sizeof(key), sizeof(value), 2, 0));
|
||||
if (writeToMapEntry(map, &key, &value, BPF_ANY)) {
|
||||
ALOGE("Critical kernel bug - failure to write into index 1 of 2 element bpf map array.");
|
||||
return 1;
|
||||
if (isAtLeastT) return 1;
|
||||
}
|
||||
|
||||
// on S we haven't created this subdir yet, but we need it for 'mainline_done' flag below
|
||||
|
|
|
|||
Loading…
Reference in a new issue