aboutsummaryrefslogtreecommitdiff
path: root/tools/include
diff options
context:
space:
mode:
authorLorenz Bauer2020-09-21 13:12:18 +0100
committerAlexei Starovoitov2020-09-21 15:00:40 -0700
commit0d004c020b5574e51f7a525e57d2a11958b334b5 (patch)
treeaf1c170427677e73f706402346add1c61f3046a9 /tools/include
parent2af30f115d6957f372ce3096c7198763ff253d97 (diff)
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')
0 files changed, 0 insertions, 0 deletions