Skip to content

mptcp: preserve MSG_EOR semantics in sendmsg path

Gang Yan mptcp 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 4 repliesIn review
  2. v11 patch 5 repliesSuperseded

Changes in v2 from the cover letter

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

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2mptcp: reduce 'overhead' from u16 to u8net/mptcp/protocol.c net/mptcp/protocol.h+6 -11 reply
2/2mptcp: preserve MSG_EOR semantics in sendmsg pathnet/mptcp/protocol.c net/mptcp/protocol.h+23 -41 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchMatthieu Baerts (NGI0)
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

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

From: Gang Yan <[email protected]>

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/[email protected]/

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