From 92460e1c89c0b265462d9c4fcea2bd7798cbb77c Mon Sep 17 00:00:00 2001 From: Motomu Utsumi Date: Thu, 22 May 2025 16:19:15 +0900 Subject: [PATCH] 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 --- progs/bpfRingbufProg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/progs/bpfRingbufProg.c b/progs/bpfRingbufProg.c index de17483..459705e 100644 --- a/progs/bpfRingbufProg.c +++ b/progs/bpfRingbufProg.c @@ -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;