Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 417637a2 authored by Sami Tolvanen's avatar Sami Tolvanen
Browse files

bpf: fix function type for __bpf_prog_run



Bug: 67506682
Change-Id: I096a470c65a2a1867c51da9a33843ae23bf5e547
Signed-off-by: default avatarSami Tolvanen <samitolvanen@google.com>
parent 84bfde9a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;