summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/.gitignore
diff options
context:
space:
mode:
authorAndrii Nakryiko2019-03-01 00:31:21 +0100
committerDaniel Borkmann2019-03-01 01:31:47 +0100
commit8054d51f76c8da880115ffba6189b0efd7a5b5ba (patch)
treeb3c8c179f0c48a9592c5c3e5d3d72a23f60f81ae /tools/testing/selftests/bpf/.gitignore
parenttools/libbpf: signedness bug in btf_dedup_ref_type() (diff)
downloadkernel-qcow2-linux-8054d51f76c8da880115ffba6189b0efd7a5b5ba.tar.gz
kernel-qcow2-linux-8054d51f76c8da880115ffba6189b0efd7a5b5ba.tar.xz
kernel-qcow2-linux-8054d51f76c8da880115ffba6189b0efd7a5b5ba.zip
selftests/bpf: fix btf_dedup testing code
btf_dedup testing code doesn't account for length of struct btf_header when calculating the start of a string section. This patch fixes this problem. Fixes: 49b57e0d01db ("tools/bpf: remove btf__get_strings() superseded by raw data API") Signed-off-by: Andrii Nakryiko <andriin@fb.com> Acked-by: Song Liu <songliubraving@fb.com> Acked-by: Yonghong Song <yhs@fb.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'tools/testing/selftests/bpf/.gitignore')
-rw-r--r--tools/testing/selftests/bpf/.gitignore1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/testing/selftests/bpf/.gitignore b/tools/testing/selftests/bpf/.gitignore
index e47168d1257d..3b74d23fffab 100644
--- a/tools/testing/selftests/bpf/.gitignore
+++ b/tools/testing/selftests/bpf/.gitignore
@@ -14,6 +14,7 @@ feature
test_libbpf_open
test_sock
test_sock_addr
+test_sock_fields
urandom_read
test_btf
test_sockmap