diff options
author | Martin KaFai Lau <kafai@fb.com> | 2020-11-07 01:54:02 +0300 |
---|---|---|
committer | Andrii Nakryiko <andrii@kernel.org> | 2020-11-10 03:18:36 +0300 |
commit | f52b8fd332573106e60958617a3d2e30611ce1fb (patch) | |
tree | f64859147386fbab5d130b077657dcc0cb5faad9 /include | |
parent | 666475ccbf1dc99c1e61e47975d5fbf86d6236aa (diff) | |
download | linux-f52b8fd332573106e60958617a3d2e30611ce1fb.tar.xz |
bpf: selftest: Use static globals in tcp_hdr_options and btf_skc_cls_ingress
Some globals in the tcp_hdr_options test and btf_skc_cls_ingress test
are not using static scope. This patch fixes it.
Targeting bpf-next branch as an improvement since it currently does not
break the build.
Fixes: ad2f8eb0095e ("bpf: selftests: Tcp header options")
Fixes: 9a856cae2217 ("bpf: selftest: Add test_btf_skc_cls_ingress")
Signed-off-by: Martin KaFai Lau <kafai@fb.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: John Fastabend <john.fastabend@gmail.com>
Link: https://lore.kernel.org/bpf/20201106225402.4135741-1-kafai@fb.com
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions