diff options
author | Anay Wadhera <awadhera@berkeley.edu> | 2021-05-20 21:56:22 -0700 |
---|---|---|
committer | Michael Bestas <mkbestas@lineageos.org> | 2022-04-19 00:49:43 +0300 |
commit | d93445ad89b2a11be7f6cad950c1e62a164c5c36 (patch) | |
tree | e30f971c55b2f8011fc5bee373dfc35dc6b9bf51 /kernel/bpf/core.c | |
parent | 23e6e6ae2fe1086a796e42ba907c17181daac9d0 (diff) |
Revert "bpf: fix bpf_tail_call() x64 JIT"
This reverts commit 361fb0481247bea4da3eb122e685c8b72ef7c8a9.
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 e54ea31c5103..3fd76cf0c21e 100644 --- a/kernel/bpf/core.c +++ b/kernel/bpf/core.c @@ -517,7 +517,7 @@ select_insn: struct bpf_map *map = (struct bpf_map *) (unsigned long) BPF_R2; struct bpf_array *array = container_of(map, struct bpf_array, map); struct bpf_prog *prog; - u32 index = BPF_R3; + u64 index = BPF_R3; if (unlikely(index >= array->map.max_entries)) goto out; |