diff options
author | Sami Tolvanen <samitolvanen@google.com> | 2017-08-24 08:59:31 -0700 |
---|---|---|
committer | Michael Bestas <mkbestas@lineageos.org> | 2022-04-19 00:51:22 +0300 |
commit | 3d81a0680884e6d76d6b63c1913035fd9070d2bf (patch) | |
tree | b64df9acebc84f6f90e289349541f16d7828e60d /kernel/bpf/core.c | |
parent | 94c369583ac372339ad7e2102bdcf16875bab177 (diff) |
bpf: fix function type for __bpf_prog_run
Bug: 67506682
Change-Id: I096a470c65a2a1867c51da9a33843ae23bf5e547
Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
Signed-off-by: Chatur27 <jasonbright2709@gmail.com>
Diffstat (limited to 'kernel/bpf/core.c')
-rw-r--r-- | kernel/bpf/core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/bpf/core.c b/kernel/bpf/core.c index 879ca844ba1d..66d64db4f8c7 100644 --- a/kernel/bpf/core.c +++ b/kernel/bpf/core.c @@ -466,7 +466,7 @@ EXPORT_SYMBOL_GPL(__bpf_call_base); * * Decode and execute eBPF instructions. */ -static unsigned int __bpf_prog_run(void *ctx, const struct bpf_insn *insn) +static unsigned int __bpf_prog_run(const struct sk_buff *ctx, const struct bpf_insn *insn) { u64 stack[MAX_BPF_STACK / sizeof(u64)]; u64 regs[MAX_BPF_REG], tmp; |