Skip to content

implement psock_update_sk_prot

Geliang Tang mptcp 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 3 repliesIn review
  2. v2 posting 2/22 patches 1 replySuperseded
  3. v2 posting 1/23 patches 9 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v13 patches1 replySuperseded

Changes in v3 from the cover letter

- 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.

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2mptcp: implement psock_update_sk_protnet/mptcp/protocol.c+113 -01 reply
2/2selftests/bpf: Update sockmap tests for MPTCPtools/testing/selftests/bpf/prog_tests/mptcp.c+8 -81 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

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

From: Geliang Tang <[email protected]>

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.

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(-)
Signature · 1 line
2.51.0