diff options
| author | Martin KaFai Lau <martin.lau@kernel.org> | 2024-05-09 10:50:24 -0700 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2024-05-09 11:13:12 -0700 |
| commit | 6eee55aa769c241182da73a391980f51edba27dc (patch) | |
| tree | 80f567d24605f88f9035b337bb6f713b5bfbb1c9 /tools/testing/selftests/bpf/progs/bpf_dctcp_release.c | |
| parent | selftests/bpf: Use bpf_tracing_net.h in bpf_dctcp (diff) | |
| download | linux-6eee55aa769c241182da73a391980f51edba27dc.tar.gz linux-6eee55aa769c241182da73a391980f51edba27dc.zip | |
selftests/bpf: Remove bpf_tcp_helpers.h usages from other misc bpf tcp-cc tests
This patch removed the final few bpf_tcp_helpers.h usages
in some misc bpf tcp-cc tests and replace it with
bpf_tracing_net.h (i.e. vmlinux.h)
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Link: https://lore.kernel.org/r/20240509175026.3423614-9-martin.lau@linux.dev
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/bpf_dctcp_release.c')
| -rw-r--r-- | tools/testing/selftests/bpf/progs/bpf_dctcp_release.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/tools/testing/selftests/bpf/progs/bpf_dctcp_release.c b/tools/testing/selftests/bpf/progs/bpf_dctcp_release.c index a946b070bb06..c91763f248b2 100644 --- a/tools/testing/selftests/bpf/progs/bpf_dctcp_release.c +++ b/tools/testing/selftests/bpf/progs/bpf_dctcp_release.c @@ -1,14 +1,9 @@ // SPDX-License-Identifier: GPL-2.0 /* Copyright (c) 2021 Facebook */ -#include <stddef.h> -#include <linux/bpf.h> -#include <linux/types.h> -#include <linux/stddef.h> -#include <linux/tcp.h> +#include "bpf_tracing_net.h" #include <bpf/bpf_helpers.h> #include <bpf/bpf_tracing.h> -#include "bpf_tcp_helpers.h" char _license[] SEC("license") = "GPL"; const char cubic[] = "cubic"; |
