diff options
author | Lorenz Bauer <lmb@cloudflare.com> | 2020-09-21 15:12:18 +0300 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2020-09-22 01:00:40 +0300 |
commit | 0d004c020b5574e51f7a525e57d2a11958b334b5 (patch) | |
tree | af1c170427677e73f706402346add1c61f3046a9 /tools/include/linux/btf_ids.h | |
parent | 2af30f115d6957f372ce3096c7198763ff253d97 (diff) | |
download | linux-0d004c020b5574e51f7a525e57d2a11958b334b5.tar.xz |
bpf: Check scalar or invalid register in check_helper_mem_access
Move the check for a NULL or zero register to check_helper_mem_access. This
makes check_stack_boundary easier to understand.
Signed-off-by: Lorenz Bauer <lmb@cloudflare.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Andrii Nakryiko <andriin@fb.com>
Link: https://lore.kernel.org/bpf/20200921121227.255763-3-lmb@cloudflare.com
Diffstat (limited to 'tools/include/linux/btf_ids.h')
0 files changed, 0 insertions, 0 deletions