commit | 8175383f2320dbc1b4e803d857ed499ed3e76199 | [log] [tgz] |
---|---|---|
author | Martin KaFai Lau <kafai@fb.com> | Sat Jun 02 09:06:51 2018 -0700 |
committer | Alexei Starovoitov <ast@kernel.org> | Sat Jun 02 11:22:36 2018 -0700 |
tree | e567188ab587107f05d7faebe771de2e50ff241a | |
parent | b9308ae696b2c35e862636eec631d95ff958c33d [diff] |
bpf: btf: Ensure t->type == 0 for BTF_KIND_FWD The t->type in BTF_KIND_FWD is not used. It must be 0. This patch ensures that and also adds a test case in test_btf.c Signed-off-by: Martin KaFai Lau <kafai@fb.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org>