KVER_5_8 -> KVER_5_10 for program that depends on ringbuf
ringbuf_test depends on the ring buffer that is loaded on 5.10+ kernel. Test: TH Bug: 410982483 Change-Id: If9d6a7f4483655cd5931bf64acfe34239f72cbe1
This commit is contained in:
parent
315feea5fc
commit
92460e1c89
1 changed files with 1 additions and 1 deletions
|
|
@ -32,7 +32,7 @@ DEFINE_BPF_RINGBUF(test_ringbuf, __u64, 4096, AID_ROOT, AID_ROOT, 0660);
|
|||
// This program is for test purposes only - it should never be attached to a
|
||||
// socket, only executed manually with BPF_PROG_RUN.
|
||||
DEFINE_BPF_PROG_KVER("skfilter/ringbuf_test", AID_ROOT, AID_ROOT, skfilter_ringbuf_test,
|
||||
KVER(5, 8, 0))
|
||||
KVER(5, 10, 0))
|
||||
(void* __unused ctx) {
|
||||
__u64* output = bpf_test_ringbuf_reserve();
|
||||
if (output == NULL) return 1;
|
||||
|
|
|
|||
Loading…
Reference in a new issue