diff options
author | Andrii Nakryiko <[email protected]> | 2019-02-28 15:31:25 -0800 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2019-03-01 01:31:48 +0100 |
commit | 7c7a4890c87dd2eb77ef144e5153a7df4c0d6f53 (patch) | |
tree | 4c448c63fd71c34c6eb9c606f13a6662ab07170b /scripts/gen_compile_commands.py | |
parent | 91097fbee4c025ac72f91ae41feba3a822cc1316 (diff) |
selftests/bpf: add btf_dedup test of FWD/STRUCT resolution
This patch adds a btf_dedup test exercising logic of STRUCT<->FWD
resolution and validating that STRUCT is not resolved to a FWD. It also
forces hash collisions, forcing both FWD and STRUCT to be candidates for
each other. Previously this condition caused infinite loop due to FWD
pointing to STRUCT and STRUCT pointing to its FWD.
Reported-by: Arnaldo Carvalho de Melo <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Acked-by: Song Liu <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'scripts/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions