Skip to content

add cmsg support to receive path

Florian Westphal mptcp 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest7 patches 9 repliesIn review
  2. v28 patches 7 repliesSuperseded
  3. v18 patches 3 repliesSuperseded

Changes in v3 from the cover letter

- fix indendation of a if line in patch 1 (Mat)
- avoid useless conditional in patch 5 (Mat)

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7sock: expose so_timestamp options for mptcpinclude/net/sock.h net/core/sock.c+20 -71 reply
2/7sock: expose so_timestamping options for mptcpinclude/net/sock.h net/core/sock.c+38 -351 reply
3/7mptcp: sockopt: propagate timestamp request to subflowsnet/mptcp/sockopt.c+50 -01 reply
4/7mptcp: setsockopt: handle SOL_SOCKET in one place onlynet/mptcp/sockopt.c+29 -701 reply
5/7tcp: export timestamp helpers for mptcpinclude/net/tcp.h net/ipv4/tcp.c+8 -61 reply
6/7mptcp: receive path cmsg supportnet/mptcp/protocol.c+25 -31 reply
7/7selftests: mptcp_connect: add SO_TIMESTAMPNS cmsg supporttools/testing/selftests/net/mptcp/mptcp_connect.c tools/testing/selftests/net/mptcp/mptcp_sockopt.sh+126 -31 reply

Reviews trailers per patch

All 7 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchPaolo AbeniMat Martineau
SeriesA-b
1/7A-b
2/7A-b
3/7R-b
4/7R-b
5/7A-b
6/7R-b
7/7R-b

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

Read the v3 thread

Cover letter [PATCH v3 mptcp-next 0/7] add cmsg support to receive path

Changes since v3:
- drop patch 1 (busypoll support), SO_BUSYPOLL will have no effect. effect.
- adjust patch 5 accordingly.

Changes since v2:
- fix indendation of a if line in patch 1 (Mat)
- avoid useless conditional in patch 5 (Mat)

This adds setsockopt support for busypoll + and the various SO_TIMESTAMP variants.

To reduce copy&paste, a few helper functions get exported for mptcp sake.

Last patch extends the existing setsockopt test case to also cover/enable SO_TIMESTAMP.

Florian Westphal (7):
sock: expose so_timestamp options for mptcp
sock: expose so_timestamping options for mptcp
mptcp: sockopt: propagate timestamp request to subflows
mptcp: setsockopt: handle SOL_SOCKET in one place only
tcp: export timestamp helpers for mptcp
mptcp: receive path cmsg support
selftests: mptcp_connect: add SO_TIMESTAMPNS cmsg support

 include/net/sock.h                            |   3 +
 include/net/tcp.h                             |   4 +
 net/core/sock.c                               |  97 +++++++-----
 net/ipv4/tcp.c                                |  10 +-
 net/mptcp/protocol.c                          |  28 +++-
 net/mptcp/sockopt.c                           | 149 ++++++++++--------
 .../selftests/net/mptcp/mptcp_connect.c       | 125 ++++++++++++++-
 .../selftests/net/mptcp/mptcp_sockopt.sh      |   4 +-
 8 files changed, 296 insertions(+), 124 deletions(-)
Signature · 1 line
2.26.3