[PATCH mptcp-next v2 0/2] mptcp: preserve MSG_EOR semantics in sendmsg path

Gang Yan posted 2 patches 1 day, 13 hours ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/multipath-tcp/mptcp_net-next tags/patchew/cover.1774947296.git.yangang@kylinos.cn
net/mptcp/protocol.c | 28 +++++++++++++++++++++++++---
net/mptcp/protocol.h |  4 +++-
2 files changed, 28 insertions(+), 4 deletions(-)
[PATCH mptcp-next v2 0/2] mptcp: preserve MSG_EOR semantics in sendmsg path
Posted by Gang Yan 1 day, 13 hours ago
From: Gang Yan <yangang@kylinos.cn>

Hi, Matt:

With this v2 version, the packetdrill scripts also updated at
https://github.com/multipath-tcp/packetdrill/pull/189.

I removed the 'mptcp_eor_subflows.pkt', and made some improvements in
'mptcp_eor_no_collapse.pkt'.

Thanks,
Gang

---
Changelog:
v2:
  - Split the change into two independent patches:
    Patch 1 changes overhead to u8 (with BUILD_BUG_ON).
    Patch 2 implements the actual MSG_EOR handling.
    This split makes the series easier to review.
  - Added a !df->eor check in mptcp_frag_can_collapse_to() to prevent
    appending new data after a dfrag with the EOR flag set.
  - Improved comments at the new BUILD_BUG_ON check.

v1:
  - Link: https://patchwork.kernel.org/project/mptcp/patch/20260309025431.125943-1-gang.yan@linux.dev/

Gang Yan (2):
  mptcp: reduce 'overhead' from u16 to u8
  mptcp: preserve MSG_EOR semantics in sendmsg path

 net/mptcp/protocol.c | 28 +++++++++++++++++++++++++---
 net/mptcp/protocol.h |  4 +++-
 2 files changed, 28 insertions(+), 4 deletions(-)

-- 
2.43.0
Re: [PATCH mptcp-next v2 0/2] mptcp: preserve MSG_EOR semantics in sendmsg path
Posted by MPTCP CI 1 day, 11 hours ago
Hi Gang,

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): Unstable: 1 failed test(s): packetdrill_mp_capable 🔴
- 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/23790407262

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


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)