diff options
author | Lorenz Bauer <lmb@cloudflare.com> | 2020-09-21 13:12:25 +0100 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2020-09-21 15:00:41 -0700 |
commit | c18f0b6aee2aaa6ab2aefd4b9aa1d89142a48824 (patch) | |
tree | 3dbceef033da0908604ed6edc2b4fbc5d2f0536b /kernel/scs.c | |
parent | a2bbe7cc90755283f1db719eb757616cefd2a9fd (diff) | |
download | linux-c18f0b6aee2aaa6ab2aefd4b9aa1d89142a48824.tar.bz2 |
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 'kernel/scs.c')
0 files changed, 0 insertions, 0 deletions