diff options
| author | Martin KaFai Lau <kafai@fb.com> | 2020-09-24 17:04:52 -0700 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2020-09-25 13:58:02 -0700 |
| commit | 0c402c6c3031fd6ba23c6a2433b9f804da093b20 (patch) | |
| tree | 9249884b09cf9525f0b79add5f05371a121290d8 /tools/perf/scripts/python | |
| parent | bpf: selftest: Use bpf_skc_to_tcp_sock() in the sock_fields test (diff) | |
| download | linux-0c402c6c3031fd6ba23c6a2433b9f804da093b20.tar.gz linux-0c402c6c3031fd6ba23c6a2433b9f804da093b20.zip | |
bpf: selftest: Remove enum tcp_ca_state from bpf_tcp_helpers.h
The enum tcp_ca_state is available in <linux/tcp.h>.
Remove it from the bpf_tcp_helpers.h to avoid conflict when the bpf prog
needs to include both both <linux/tcp.h> and bpf_tcp_helpers.h.
Modify the bpf_cubic.c and bpf_dctcp.c to use <linux/tcp.h> instead.
The <linux/stddef.h> is needed by <linux/tcp.h>.
Signed-off-by: Martin KaFai Lau <kafai@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20200925000452.3859313-1-kafai@fb.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
