aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf
diff options
context:
space:
mode:
authorAlexei Starovoitov <ast@kernel.org>2020-01-31 16:03:14 -0800
committerDaniel Borkmann <daniel@iogearbox.net>2020-02-04 00:06:07 +0100
commit257af63d7f84f0672aa6a24b5511871f00741f19 (patch)
tree2f7453642cf117d0550a4af58b15a1ae312d1139 /tools/testing/selftests/bpf
parentbpftool: Remove redundant "HAVE" prefix from the large INSN limit check (diff)
downloadlinux-dev-257af63d7f84f0672aa6a24b5511871f00741f19.tar.xz
linux-dev-257af63d7f84f0672aa6a24b5511871f00741f19.zip
bpf: Fix modifier skipping logic
Fix the way modifiers are skipped while walking pointers. Otherwise second level dereferences of 'const struct foo *' will be rejected by the verifier. Fixes: 9e15db66136a ("bpf: Implement accurate raw_tp context access via BTF") Signed-off-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Yonghong Song <yhs@fb.com> Link: https://lore.kernel.org/bpf/20200201000314.261392-1-ast@kernel.org
Diffstat (limited to 'tools/testing/selftests/bpf')
0 files changed, 0 insertions, 0 deletions