summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLorenz Bauer <lmb@cloudflare.com>2020-09-21 15:12:25 +0300
committerAlexei Starovoitov <ast@kernel.org>2020-09-22 01:00:41 +0300
commitc18f0b6aee2aaa6ab2aefd4b9aa1d89142a48824 (patch)
tree3dbceef033da0908604ed6edc2b4fbc5d2f0536b /include
parenta2bbe7cc90755283f1db719eb757616cefd2a9fd (diff)
downloadlinux-c18f0b6aee2aaa6ab2aefd4b9aa1d89142a48824.tar.xz
bpf: Check ARG_PTR_TO_SPINLOCK register type in check_func_arg
Move the check for PTR_TO_MAP_VALUE to check_func_arg, where all other checking is done as well. Move the invocation of process_spin_lock away from the register type checking, to allow a future refactoring. Signed-off-by: Lorenz Bauer <lmb@cloudflare.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Acked-by: Martin KaFai Lau <kafai@fb.com> Link: https://lore.kernel.org/bpf/20200921121227.255763-10-lmb@cloudflare.com
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions