projects
/
linux-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next
[linux-block.git]
/
kernel
/
bpf
/
btf.c
diff --git
a/kernel/bpf/btf.c
b/kernel/bpf/btf.c
index 57f5fd5af2f9f8bbc49dd5f5aaaf4e26d8594ec7..a1c44c17ea9c0113a5567878707fd0e87f726a96 100644
(file)
--- a/
kernel/bpf/btf.c
+++ b/
kernel/bpf/btf.c
@@
-5752,7
+5752,7
@@
static int btf_check_func_arg_match(struct bpf_verifier_env *env,
i, btf_type_str(t));
return -EINVAL;
}
- if (check_
ctx
_reg(env, reg, regno))
+ if (check_
ptr_off
_reg(env, reg, regno))
return -EINVAL;
} else if (is_kfunc && (reg->type == PTR_TO_BTF_ID || reg2btf_ids[reg->type])) {
const struct btf_type *reg_ref_t;