Message ID | cover.1714014697.git.tanggeliang@kylinos.cn (mailing list archive) |
---|---|
Headers | show |
Series | use network helpers, part 3 | expand |
Hello: This series was applied to bpf/bpf-next.git (master) by Martin KaFai Lau <martin.lau@kernel.org>: On Thu, 25 Apr 2024 11:23:40 +0800 you wrote: > From: Geliang Tang <tanggeliang@kylinos.cn> > > This patchset adds opts argument for __start_server, and adds setsockopt > pointer together with optval and optlen into struct network_helper_opts > to make start_server_addr helper more flexible. With these modifications, > many duplicate codes can be dropped. > > [...] Here is the summary with links: - [bpf-next,1/6] selftests/bpf: Add opts argument for __start_server https://git.kernel.org/bpf/bpf-next/c/95b88500b97c - [bpf-next,2/6] selftests/bpf: Make start_mptcp_server static https://git.kernel.org/bpf/bpf-next/c/044032ee6c4e - [bpf-next,3/6] selftests/bpf: Drop start_server_proto helper https://git.kernel.org/bpf/bpf-next/c/8405e6980f21 - [bpf-next,4/6] selftests/bpf: Add setsockopt for network_helper_opts (no matching commit) - [bpf-next,5/6] selftests/bpf: Use start_server_addr in sockopt_inherit (no matching commit) - [bpf-next,6/6] selftests/bpf: Use start_server_addr in test_tcp_check_syncookie (no matching commit) You are awesome, thank you!
From: Geliang Tang <tanggeliang@kylinos.cn> This patchset adds opts argument for __start_server, and adds setsockopt pointer together with optval and optlen into struct network_helper_opts to make start_server_addr helper more flexible. With these modifications, many duplicate codes can be dropped. Patch 4 addresses comments of Martin and Eduard in the previous series. Geliang Tang (6): selftests/bpf: Add opts argument for __start_server selftests/bpf: Make start_mptcp_server static selftests/bpf: Drop start_server_proto helper selftests/bpf: Add setsockopt for network_helper_opts selftests/bpf: Use start_server_addr in sockopt_inherit selftests/bpf: Use start_server_addr in test_tcp_check_syncookie tools/testing/selftests/bpf/Makefile | 1 + tools/testing/selftests/bpf/network_helpers.c | 53 ++++++++------- tools/testing/selftests/bpf/network_helpers.h | 5 +- .../testing/selftests/bpf/prog_tests/mptcp.c | 16 +++++ .../bpf/prog_tests/sockopt_inherit.c | 34 ++++------ .../bpf/test_tcp_check_syncookie_user.c | 64 ++++++------------- 6 files changed, 78 insertions(+), 95 deletions(-)