Skip to content

mptcp: msk diag support

Paolo Abeni mptcp 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3inet_diag: support for wider protocol numbersinclude/uapi/linux/inet_diag.h net/core/sock.c net/ipv4/inet_diag.c+48 -170 replies
2/3mptcp: add msk interations helpersnet/mptcp/protocol.h net/mptcp/token.c+86 -00 replies
3/3mptcp: add MPTCP socket diag interfaceinclude/uapi/linux/mptcp.h net/mptcp/Kconfig net/mptcp/Makefile +2 more+184 -34 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [MPTCP] [PATCH 0/3] mptcp: msk diag support

This introduces basic mptcp sockets diag support.
As IPPROTO_MPTCP excedes 8 bits, we need some changes at the inet_diag level:
a new attribute is introduced to allow user-space providing u32 protocol values.

Patch 2 introduces new token APIs to allow traversing the existing msks, while patch 3 bring in the actual diag implementation.

Paolo Abeni (3):
inet_diag: support for wider protocol numbers
mptcp: add msk interations helpers
mptcp: add MPTCP socket diag interface

 include/uapi/linux/inet_diag.h |   1 +
 include/uapi/linux/mptcp.h     |  15 ++++
 net/core/sock.c                |   1 +
 net/ipv4/inet_diag.c           |  63 +++++++++----
 net/mptcp/Kconfig              |   4 +
 net/mptcp/Makefile             |   2 +
 net/mptcp/mptcp_diag.c         | 160 +++++++++++++++++++++++++++++++++
 net/mptcp/options.c            |   6 +-
 net/mptcp/protocol.h           |   3 +
 net/mptcp/token.c              |  83 +++++++++++++++++
 10 files changed, 318 insertions(+), 20 deletions(-)
 create mode 100644 net/mptcp/mptcp_diag.c
Signature · 1 line
2.26.2