diff options
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 77a240a1ce11..265a02cc822d 100644 --- a/kernel/bpf/core.c +++ b/kernel/bpf/core.c | |||
@@ -81,7 +81,7 @@ noinline u64 __bpf_call_base(u64 r1, u64 r2, u64 r3, u64 r4, u64 r5) | |||
81 | * keep, 0 for none. @ctx is the data we are operating on, @insn is the | 81 | * keep, 0 for none. @ctx is the data we are operating on, @insn is the |
82 | * array of filter instructions. | 82 | * array of filter instructions. |
83 | */ | 83 | */ |
84 | static unsigned int __sk_run_filter(void *ctx, const struct sock_filter_int *insn) | 84 | static unsigned int __sk_run_filter(void *ctx, const struct bpf_insn *insn) |
85 | { | 85 | { |
86 | u64 stack[MAX_BPF_STACK / sizeof(u64)]; | 86 | u64 stack[MAX_BPF_STACK / sizeof(u64)]; |
87 | u64 regs[MAX_BPF_REG], tmp; | 87 | u64 regs[MAX_BPF_REG], tmp; |