Skip to contentSkip to conversation

MoM - 3rd of July 2024

Weekly meetings Matthieu Baerts 1 participant 1 message Jul 4, 2024 Networking MPTCP

lore
Share & tools
lore

Matthieu Baerts

author maintainer
#0 lore raw

Hello everyone,

This week, we had our new meeting with Mat (Cruise) and myself (NGI0 Core).

Thanks again for this new good meeting!

Here are the minutes of the meeting:

Accepted patches:
- The list of accepted patches can be seen on PatchWork:
https://patchwork.kernel.org/project/mptcp/list/?state=3

netdev (if mptcp ML is in cc) (by: /):

/

    our repo (by: /):

/

Pending patches:
- The list of pending patches can be seen on PatchWork:
https://patchwork.kernel.org/project/mptcp/list/?state=*

netdev (if mptcp ML is in cc) (by: Geliang Tang, Matthieu Baerts,
Yunsheng Lin):

13659842: [bpf-next,v2,1/2] selftests/bpf: Add mptcp subflow example 13659843: [bpf-next,v2,2/2] selftests/bpf: Add mptcp subflow subtest:
- Series: selftests/bpf: new MPTCP subflow subtest
- Submitter: Matthieu Baerts
- URL:
https://patchwork.kernel.org/project/mptcp/list/?series=851945&state=*&archive=both
- Status: same as last week

13665648: [bpf-next,v2,1/8] selftests/bpf: Add unshare_netns helper 13665649: [bpf-next,v2,2/8] selftests/bpf: Use unshare_netns helper 13665650: [bpf-next,v2,3/8] selftests/bpf: Drop duplicate create_netns 13665651: [bpf-next,v2,4/8] selftests/bpf: Export create_netns helper 13665652: [bpf-next,v2,5/8] selftests/bpf: Use create_netns helper 13665653: [bpf-next,v2,6/8] selftests/bpf: Export cleanup_netns helper 13665654: [bpf-next,v2,7/8] selftests/bpf: Use cleanup_netns helper 13665655: [bpf-next,v2,8/8] selftests/bpf: Use netns helpers in lwt tests:
- Series: add netns helpers
- Submitter: Geliang Tang
- URL:
https://patchwork.kernel.org/project/mptcp/list/?series=853539&state=*&archive=both
- Status: same as last week

13689188: [RESEND,v2] checkpatch: skip warnings for symbol links:
- Submitter: Geliang Tang
- URL:
https://patchwork.kernel.org/project/mptcp/patch/dc502b1b45cb27fda48d72d73e3267a32db023d8.1717722648.git.tanggeliang@kylinos.cn/
- Status: same as last week

13711215: [net-next,v9,11/13] net: replace page_frag with page_frag_cache:
- Status: same as last week

13711610: [6.6.y,1/2] selftests: mptcp: print_test out of verify_listener_events
13711611: [6.6.y,2/2] selftests: mptcp: userspace_pm: fixed subtest names:
- Series: Backport of "selftests: mptcp: userspace_pm: fixed subtest
names"
- Submitter: Matthieu Baerts
- URL:
https://patchwork.kernel.org/project/mptcp/list/?series=865413&state=*&archive=both

our repo (by: Geliang Tang, Gregory Detal, Liu Jing, Matthieu
Baerts, Paolo Abeni):

12282219: [RESEND,RFC,2/4] tcp: move selected mptcp helpers to tcp.h/mptcp.h 12282221: [RESEND,RFC,4/4] tcp: parse tcp options contained in reset packets:
12282223: [RESEND,RFC,mptpcp-next] mptcp: add ooo prune support:
12282225: [RESEND,1/5] tcp: make two mptcp helpers available to tcp stack 12282227: [RESEND,5/5] mptcp: send fastclose if userspace closes socket with unread data:
13070467: [mptcp-next,v4,1/2] mptcp: update mptcp_push_release 13070468: [mptcp-next,v4,2/2] mptcp: retrans for redundant sends:
- State: Changes requested
- Series: BPF redundant scheduler, part 3
- Submitter: Geliang Tang
- URL:
https://patchwork.kernel.org/project/mptcp/list/?series=703615&state=*&archive=both
- Status: same as last week

13305089: [mptcp-next,1/6] mptcp: sockopt: move tcp_inq code to a dedicated function
13305091: [mptcp-next,2/6] mptcp: sockopt: update supported list 13305093: [mptcp-next,3/6] mptcp: sockopt: get val in a generic way 13305090: [mptcp-next,4/6] mptcp: sockopt: add missing getsockopt() options 13305094: [mptcp-next,5/6] mptcp: sockopt: set val in a generic way 13305092: [mptcp-next,6/6] mptcp: sockopt: support IP_TTL & IPV6_UNICAST_HOPS:
- State: Changes requested
- Series: mptcp: sockopt: uniform code to get/set values
- Submitter: Matthieu Baerts
- URL:
https://patchwork.kernel.org/project/mptcp/list/?series=763505&state=*&archive=both
- Status: same as last week

13583230: [RFC] mptcp: react scheduler when subflow events pop up:
- State: Changes requested
- Submitter: Geliang Tang
- URL:
https://patchwork.kernel.org/project/mptcp/patch/433320c3a9db77bea53a34fc9c43a3c7e3320399.1709693691.git.tanggeliang@kylinos.cn/
- Status: same as last week

13656189: [mptcp-net,v2] mptcp: fix the default value of scaling_ratio:
- State: Changes requested
- Submitter: Geliang Tang
- URL:
https://patchwork.kernel.org/project/mptcp/patch/0ccc1c26d27d6ee7be22806a97983d37c6ca548c.1715053270.git.tanggeliang@kylinos.cn/
- Status: same as last week

13665855: [mptcp-next,v3,1/2] Squash to "selftests/bpf: Add mptcp subflow subtest"
13665856: [mptcp-next,v3,2/2] Squash to "selftests/bpf: Add bpf scheduler test":
- State: Changes requested
- Series: fixes for create_netns
- Submitter: Geliang Tang
- URL:
https://patchwork.kernel.org/project/mptcp/list/?series=853620&state=*&archive=both
- Status: same as last week

13675217: [mptcp-next,RFC,1/4] mptcp: add push sched callback 13675218: [mptcp-next,RFC,2/4] mptcp: use new push callback to schedule chunks
13675219: [mptcp-next,RFC,3/4] mptcp: bpf: allow to write to mptcp_sched_chunk
13675220: [mptcp-next,RFC,4/4] selftests/bpf: mptcp RR: send 1 MSS on each subflow:
- State: RFC
- Series: mptcp: update scheduler API
- Submitter: Gregory Detal
- URL:
https://patchwork.kernel.org/project/mptcp/list/?series=856158&state=*&archive=both
- Status: same as last week

13687445: [mptcp-iproute,1/4] man: mptcp: document 'dev IFNAME' 13687446: [mptcp-iproute,2/4] man: mptcp: clarify 'signal' and 'subflow' flags
13687447: [mptcp-iproute,3/4] mptcp: warn if 'signal' and 'subflow' flags are set
13687448: [mptcp-iproute,4/4] mptcp: warn if 'signal' or 'subflow' flag is not set:
- State: Changes requested
- Series: mptcp: guide the user to avoid mistakes
- Submitter: Matthieu Baerts
- URL:
https://patchwork.kernel.org/project/mptcp/list/?series=859237&state=*&archive=both
- Status: same as last week

13707351: [mptcp-next,1/4] mptcp: fully established after ADD_ADDR echo on MPJ
13707352: [mptcp-next,2/4] mptcp: split id_avail_bitmap per target 13707353: [mptcp-next,3/4] selftests: mptcp: join: ability to invert ADD_ADDR check
13707354: [mptcp-next,4/4] selftests: mptcp: join: test both signal & subflow:
- State: Changes requested
- Series: mptcp: fix endpoints with 'signal' and 'subflow' flags
- Submitter: Matthieu Baerts
- URL:
https://patchwork.kernel.org/project/mptcp/list/?series=864250&state=*&archive=both
- It was supposed to be targetting -net, not next

13716362: [mptcp-net,1/3] mptcp: fix announced address accounting 13716363: [mptcp-net,2/3] selftests: mptcp: add explicit test case for remove/readd
13716364: [mptcp-net,3/3] selftests: mptcp: fix error path:
- State: Changes requested
- Series: mptcp: fix signal endpoint readd
- Submitter: Paolo Abeni
- URL:
https://patchwork.kernel.org/project/mptcp/list/?series=866666&state=*&archive=both
- Matth can look at sending a v2 including the extra fix mentioned
in the comments + including the previous series "mptcp: fix endpoints with 'signal' and 'subflow' flags":
- TODO: check with Paolo → Done

13719461: [v2] selftests: mptcp: always close input's FD if opened:
- State: New
- Submitter: Liu Jing
- URL:
https://patchwork.kernel.org/project/mptcp/patch/[email protected]/
- Matth will apply it with a modification → TODO: Done

Issues on GitHub:
https://github.com/multipath-tcp/mptcp_net-next/issues/

Recently opened (latest from the last meeting: 505):

505 Subflows won't be used when the interface for the main flow is a
subinterface:
- To be checked

469 CI: add code coverage support [enhancement] [CI]:
- Maybe we can add GCOV only for 'net/mptcp'.

Bugs (opened, flagged as "bug" and assigned)

487 send() fails with EAGAIN in blocking IO mode [bug]
[selftests] [bpf] @geliangtang

  477  Client: fallback to TCP after X MPC [bug] @matttbe
  445  MPTCP Info counters: start seq numbers ones from 0 [bug] @geliangtang
  403  userspace pm: only remove entry from `local_addr_list` when

sending a REMOVE_ADDR [bug] [pm] @geliangtang
343 scheduler: react when subflow-level events pop up (ACK/RTO) [bug]
[sched] @geliangtang

Bugs (opened and flagged as "bug" and not assigned)

  501  Why do endpoint tcp connections close? [bug]
  500  cleanup rbuf bug [bug]
  499  selftests: `mptcp_connect.sh`: disconnect test timed out [bug]

[selftests]
498 in-kernel PM: closed subflows before RM_ADDR will not decrement
add_addr_accepted [bug] [pm]
495 [syzkaller] KASAN: slab-use-after-free Read in
__inet6_lookup_established [bug] [syzkaller]

  494  [syzkaller] WARNING in `__skb_flow_dissect` [bug] [syzkaller]
  493  [syzkaller] WARNING in `__mptcp_clean_una` [bug] [syzkaller]
  492  userspace pm: subflows counter: not updated when a subflows is

removed from the other end [bug]
491 selftests: mptcp_join: tests Infinite map & MP_FAIL MP_RST
are unstable [bug] [selftests]
484 BPF: setsockopt on an MPTCP socket: check support [bug] [bpf] 483 [6.1] selftests: mptcp_connect.sh failures with
copyfd_io_poll: poll timed out errors [bug] [selftests]
476 packetdrill: coalescing feature doesn't take into account MPTCP
options [bug] [packetdrill]
475 simult_flows: unbalanced bwidth tests are unstable [bug]
[selftests]

  439  mptcp vs net.ipv4.tcp_shrink_window [bug]
  416  No new subflow when removing an endpoint and adding a new one [bug]
  336  Issues with BPF packet scheduler [bug] [sched] [bpf]
  325  selftests: `mptcp_join`: test 18 `signal addresses race test` is

sometimes failing [bug] [selftests]
324 selftests: mptcp_join: tests fastclose test & `fastclose
server test` are sometimes failing [bug] [selftests]
315 Issues with backup flow [bug]

In Progress (opened, new feature and assigned)

  480  MPTCP and KTLS support [enhancement] @geliangtang
  434  in-kernel PM: increase subflows limit [enhancement] [pm] @matttbe
  353  sockopt: uniform code to get/set values [enhancement] @matttbe
  349  scheduler: (un)mark a subflow as "stale" [enhancement] [sched]

@geliangtang
296 Support IP_TTL & IPV6_UNICAST_HOPS [enhancement] @matttbe 234 Packetdrill: Support MPC+DATA+checksum error [enhancement]
[packetdrill] @spoorva
167 packetdrill: add coverage for RM_ADDR [enhancement] [packetdrill]
@dcaratti
75 BPF: packet scheduler [enhancement] [sched] [bpf] @geliangtang 74 BPF: path manager [enhancement] [pm] [bpf] @geliangtang

Assigned Questions (opened, questions and assigned)

None.

Open questions (opened, questions and not assigned)

  502  Question for ip-mptcp command [question]
  489  IPv6 Rejoin Subflow [question]
  459  Are the endpoint flags `signal` and `subflow` meant to be

exclusive? or how to get MPTCP to work for both directions? [question]
452 mptcp causes the network to become very slow [question] 412 shadowsocks-libev not working, need guidance for PM configuration
[question]
411 Problem with IPROTO [question]

For later (opened and not assigned)

505 Subflows won't be used when the interface for the main flow is a
subinterface
503 in-kernel PM: use endpoints only to create subflows with received
ADD_ADDR [pm]
497 in-kernel PM: check to create new subflows when some are
destroyed [enhancement] [pm]

  496  in-kernel PM: store received `ADD_ADDR` [enhancement] [pm]
  481  remove refcount on TCP sockets for the timers [enhancement]
  469  CI: add code coverage support [enhancement] [CI]
  467  Scheduler: add redundant scheduler support in BPF [enhancement]
[sched]
  462  selftests: print (and set?) random seed [enhancement] [selftests]
  461  Protocol: extend Data-Level Length field [enhancement] [protocol]
  448  Allow sending ADD_ADDR IPv6 with port-number if TCP-timestamps

are enabled [enhancement]
441 optimize established options generation [enhancement] 440 in-kernel PM: re-establish subflows after "network" errors
[enhancement] [pm]
426 selftests: validate listener sockets with multiple accepts
[enhancement] [selftests]
397 Doc and guidance for users [enhancement] [documentation] 396 ci: periodically run selftests from the export branch on stable
kernels [enhancement] [selftests]
389 packetdrill: increase coverage for "early close()" cases
[enhancement] [packetdrill]
350 scheduler: API changes (tasks) [enhancement] [sched] 348 scheduler: frequently probe "stale" subflow with reinjected data
[enhancement] [sched]
345 scheduler: "penalise" some subflows by sending less than their
cwnd [enhancement] [sched]
344 scheduler: new callback to initiate optimisations [enhancement]
[sched]
337 in-kernel PM: listen socket: support "behind a NAT" use case
[enhancement] [pm]
335 Server to Client subflows: option to allow joining the initial
address and port [enhancement] [pm]
334 in-kernel PM: send >1 ADD_ADDR before the establishment of a new
subflow [enhancement] [pm]
333 New MIBs to help understanding issues when PM cannot create new
subflows [enhancement] [pm]
332 scheduler: implement a "opportunistic retransmission"
[enhancement] [sched]

  298  CG Memory accounting for passive MPTCP socket [enhancement]
  289  mptcp: audit comments for non inclusive language [enhancement]
  273  Packetdrill: test outgoing MP_FASTCLOSE [enhancement] [packetdrill]
  266  Packetdrill: add MP_FAIL coverage [packetdrill]
  236  Review supported sockopts list [enhancement]
  222  Netlink event API: add SUBFLOW_CREATED event [enhancement]
  215  TCP Urgent pointer and MPTCP [enhancement]
  213  add MPTCP man page [enhancement]
  208  better handing of ssk memory pressure in the TX path [enhancement]
  202  Add sendmsg support for ancillary data [enhancement]
  197  more mibs needed [enhancement]
  180  Get an update when MPTCP fall back to TCP [enhancement]
  177  improve retransmit subflow selection [enhancement]
  169  packetdrill: add coverage for ADD_ADDR and MP_JOIN on a different

port [enhancement] [packetdrill]
150 remove completely workqueue usage [enhancement]
141 avoid acquiring mptcp_data_lock() twice in the receive path
[enhancement]
78 notify the application (userspace) when a subflow is
added/removed [enhancement]
57 After a few attempts of failed MPTCP, directly fallback to TCP
for new connections [enhancement]
41 reduce indirect call usage [enhancement]
24 Revisit layout of struct mptcp_subflow_context [enhancement]

    Recently closed (since 2024-06-26)

504 [Question] Bi-directional MPTCP (signal endpoints on both ends)

Packetdrill PRs

# 52 2 years ago dcaratti Add initial coverage for RM_ADDR

mptcp.dev PRs

  # /

FYI: Current Roadmap:
- Bugs:
https://github.com/multipath-tcp/mptcp_net-next/issues?q=is%3Aissue+is%3Aopen+label%3Abug
- Current/Coming merge window (6.11):
https://github.com/orgs/multipath-tcp/projects/9
- For later: https://github.com/orgs/multipath-tcp/projects/1

Patches to send to NetDev:

- Fixes for other trees:

- Fixes for -net:

- Fixes for net-next:

- Features for net-next:

- Features for net-next (next):

- Features for other trees:

- [bfc162a32f6a] mptcp: add sched_data helpers (Geliang Tang)
- [dedee23c0a4b] bpf: Add bpf_mptcp_sched_ops (Geliang Tang)
- [ad82a48c9068] bpf: Add bpf_mptcp_sched_kfunc_set (Geliang Tang)

- [9db1a7482a49] selftests/bpf: Add mptcp subflow example
(Nicolas Rybowski)
- [4da605114ae3] selftests/bpf: Add mptcp pm_nl_ctl link
(Geliang Tang)
- [f823dcc03829] selftests/bpf: Add mptcp subflow subtest
(Geliang Tang):
- TODO: Matth: send them → Done

- [03bd184e7072] selftests/bpf: Add bpf scheduler test (Geliang
Tang)
- [c7ac8bc2f3e1] selftests/bpf: Add bpf_first scheduler & test
(Geliang Tang)
- [2c32bdbb91fc] selftests/bpf: Add bpf_bkup scheduler & test
(Geliang Tang)
- [567d63cb9e7c] selftests/bpf: Add bpf_rr scheduler & test
(Geliang Tang)
- [3b8955e0bcf5] selftests/bpf: Add bpf_red scheduler & test
(Geliang Tang)
- [bfddde95087e] bpf: Export more bpf_burst related functions
(Geliang Tang)
- [0cb5e7a75058] selftests/bpf: Add bpf_burst scheduler & test
(Geliang Tang)

Extra tests:
- news about Syzkaller? (Christoph):
- /

- news about interop with mptcp.org/other stacks? (?):
- /

- Packetdrill (Davide):
- /

- Patchew (Davide):
- /

- CI (Matth):
- https://ci-results.mptcp.dev/flakes.html
- No failures for 1 month!

Meetings:
- Due to holidays for some, and netdev conf for others, we decided
to cancel the two next ones.

Next meeting:
- Next one on Wednesday, the 24th of July.
- 17:30 UTC (8.30am PDT, 5.30pm CEST, 11.30pm CST)
- Still open to everyone!
- https://annuel2.framapad.org/p/mptcp_upstreaming_20240724

Feel free to comment on these topics and suggest new ones for the next meeting!

Talk to you on Wednesday,
Matt

Signature · 1 line
Sponsored by the NGI0 Core fund.