summaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorGeliang Tang <tanggeliang@kylinos.cn>2024-03-26 18:03:38 +0800
committerMartin KaFai Lau <martin.lau@kernel.org>2024-03-28 19:12:14 -0700
commite5e1a3aa56773d55dfb71c4d58176bc19ecfa739 (patch)
tree54393377c996ac3fece9b20b2d9cc5c008fac3db /scripts/generate_rust_analyzer.py
parente8742081db7d01f980c6161ae1e8a1dbc1e30979 (diff)
selftests/bpf: Use connect_fd_to_fd in bpf_tcp_ca
To simplify the code, use BPF selftests helper connect_fd_to_fd() in bpf_tcp_ca.c instead of open-coding it. This helper is defined in network_helpers.c, and exported in network_helpers.h, which is already included in bpf_tcp_ca.c. Signed-off-by: Geliang Tang <tanggeliang@kylinos.cn> Link: https://lore.kernel.org/r/e105d1f225c643bee838409378dd90fd9aabb6dc.1711447102.git.tanggeliang@kylinos.cn Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions