[PATCH mptcp-next v3 0/2] implement psock_update_sk_prot

Geliang Tang posted 2 patches 3 days, 21 hours ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/multipath-tcp/mptcp_net-next tags/patchew/cover.1773826662.git.tanggeliang@kylinos.cn
net/mptcp/protocol.c                          | 113 ++++++++++++++++++
.../testing/selftests/bpf/prog_tests/mptcp.c  |  16 +--
2 files changed, 121 insertions(+), 8 deletions(-)
[PATCH mptcp-next v3 0/2] implement psock_update_sk_prot
Posted by Geliang Tang 3 days, 21 hours ago
From: Geliang Tang <tanggeliang@kylinos.cn>

v3:
 - Address the comments by ai review.
   - use WRITE_ONCE to set sk->sk_write_space.
   - update the selftest, set a new key for client socket.
 - Fix line length warnings.

RESEND:
 - rebased.
 - to trigger ai review.

v2:
 - Include mptcp_bpf_update_proto within CONFIG_BPF_SYSCALL to fix the
compilation errors reported by the kernel test robot.
 - Add checks for IS_ENABLED(CONFIG_MPTCP_IPV6).

Implement psock_update_sk_prot, for basic MPTCP BPF SOCKMAP support.

Closes: https://github.com/multipath-tcp/mptcp_net-next/issues/521

Geliang Tang (2):
  mptcp: implement psock_update_sk_prot
  selftests/bpf: Update sockmap tests for MPTCP

 net/mptcp/protocol.c                          | 113 ++++++++++++++++++
 .../testing/selftests/bpf/prog_tests/mptcp.c  |  16 +--
 2 files changed, 121 insertions(+), 8 deletions(-)

-- 
2.51.0
Re: [PATCH mptcp-next v3 0/2] implement psock_update_sk_prot
Posted by MPTCP CI 3 days, 19 hours ago
Hi Geliang,

Thank you for your modifications, that's great!

Our CI did some validations and here is its report:

- KVM Validation: normal (except selftest_mptcp_join): Success! ✅
- KVM Validation: normal (only selftest_mptcp_join): Success! ✅
- KVM Validation: debug (except selftest_mptcp_join): Success! ✅
- KVM Validation: debug (only selftest_mptcp_join): Success! ✅
- KVM Validation: btf-normal (only bpftest_all): Success! ✅
- KVM Validation: btf-debug (only bpftest_all): Success! ✅
- Task: https://github.com/multipath-tcp/mptcp_net-next/actions/runs/23239200117

Initiator: Patchew Applier
Commits: https://github.com/multipath-tcp/mptcp_net-next/commits/aee7a7eb8008
Patchwork: https://patchwork.kernel.org/project/mptcp/list/?series=1068551


If there are some issues, you can reproduce them using the same environment as
the one used by the CI thanks to a docker image, e.g.:

    $ cd [kernel source code]
    $ docker run -v "${PWD}:${PWD}:rw" -w "${PWD}" --privileged --rm -it \
        --pull always mptcp/mptcp-upstream-virtme-docker:latest \
        auto-normal

For more details:

    https://github.com/multipath-tcp/mptcp-upstream-virtme-docker


Please note that despite all the efforts that have been already done to have a
stable tests suite when executed on a public CI like here, it is possible some
reported issues are not due to your modifications. Still, do not hesitate to
help us improve that ;-)

Cheers,
MPTCP GH Action bot
Bot operated by Matthieu Baerts (NGI0 Core)