diff options
| author | Andrii Nakryiko <andriin@fb.com> | 2019-02-28 15:31:21 -0800 |
|---|---|---|
| committer | Daniel Borkmann <daniel@iogearbox.net> | 2019-03-01 01:31:47 +0100 |
| commit | 8054d51f76c8da880115ffba6189b0efd7a5b5ba (patch) | |
| tree | b3c8c179f0c48a9592c5c3e5d3d72a23f60f81ae /scripts/objdiff | |
| parent | tools/libbpf: signedness bug in btf_dedup_ref_type() (diff) | |
| download | linux-8054d51f76c8da880115ffba6189b0efd7a5b5ba.tar.gz 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 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions
