Skip to content

mptcp: introduce msk diag interface

Paolo Abeni mptcp netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4inet_diag: support for wider protocol numbersinclude/uapi/linux/inet_diag.h net/core/sock.c net/ipv4/inet_diag.c+50 -170 replies
2/4mptcp: add msk interations helpernet/mptcp/protocol.h net/mptcp/token.c+62 -10 replies
3/4mptcp: add MPTCP socket diag interfaceinclude/uapi/linux/mptcp.h net/mptcp/Kconfig net/mptcp/Makefile +1 more+192 -03 replies
4/4selftests/mptcp: add diag interface teststools/testing/selftests/net/mptcp/Makefile tools/testing/selftests/net/mptcp/diag.sh tools/testing/selftests/net/mptcp/mptcp_connect.c+141 -50 replies

Reviews trailers per patch

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

PatchMat Martineau
1/4A-b
2/4R-b
3/4R-b
4/4R-b

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

Read the v1 thread

Cover letter [PATCH net-next 0/4] mptcp: introduce msk diag interface

This series implements the diag interface for the MPTCP sockets.

Since the MPTCP protocol value can't be represented with the current diag uAPI, the first patch introduces an extended attribute allowing user-space to specify lager protocol values.

The token APIs are then extended to allow traversing the whole token container.

Patch 3 carries the actual diag interface implementation, and later patch bring-in some functional self-tests.

Paolo Abeni (4):
inet_diag: support for wider protocol numbers
mptcp: add msk interations helper
mptcp: add MPTCP socket diag interface
selftests/mptcp: add diag interface tests

 include/uapi/linux/inet_diag.h                |   1 +
 include/uapi/linux/mptcp.h                    |  17 ++
 net/core/sock.c                               |   1 +
 net/ipv4/inet_diag.c                          |  65 +++++--
 net/mptcp/Kconfig                             |   4 +
 net/mptcp/Makefile                            |   2 +
 net/mptcp/mptcp_diag.c                        | 169 ++++++++++++++++++
 net/mptcp/protocol.h                          |   2 +
 net/mptcp/token.c                             |  61 ++++++-
 tools/testing/selftests/net/mptcp/Makefile    |   2 +-
 tools/testing/selftests/net/mptcp/diag.sh     | 122 +++++++++++++
 .../selftests/net/mptcp/mptcp_connect.c       |  22 ++-
 12 files changed, 445 insertions(+), 23 deletions(-)
 create mode 100644 net/mptcp/mptcp_diag.c
 create mode 100755 tools/testing/selftests/net/mptcp/diag.sh
Signature · 1 line
2.26.2