Thread (20 messages) 20 messages, 5 authors, 2021-12-07

[PATCH net-next 00/10] mptcp: New features for MPTCP sockets and netlink PM

flat view
STALE1779d LANDED

From: Mat Martineau <hidden>
Date: 2021-12-03 22:35:48
Also in: mptcp

Landed in mainline as 59d58d93af94 on 2021-12-07.

This collection of patches adds MPTCP socket support for a few socket
options, ioctls, and one ancillary data type (specifics for each are
listed below). There's also a patch modifying the netlink MPTCP path
manager API to allow setting the backup flag on a configured interface
using the endpoint ID instead of the full IP address.

Patches 1 & 2: TCP_INQ cmsg and selftests.

Patches 2 & 3: SIOCINQ, OUTQ, and OUTQNSD ioctls and selftests.

Patch 5: Change backup flag using endpoint ID.

Patches 6 & 7: IP_TOS socket option and selftests.

Patches 8-10: TCP_CORK and TCP_NODELAY socket options. Includes a tcp
change to expose __tcp_sock_set_cork() and __tcp_sock_set_nodelay() for
use by MPTCP.


Davide Caratti (1):
  mptcp: allow changing the "backup" bit by endpoint id

Florian Westphal (6):
  mptcp: add TCP_INQ cmsg support
  selftests: mptcp: add TCP_INQ support
  mptcp: add SIOCINQ, OUTQ and OUTQNSD ioctls
  selftests: mptcp: add inq test case
  mptcp: getsockopt: add support for IP_TOS
  selftests: mptcp: check IP_TOS in/out are the same

Maxim Galaganov (3):
  tcp: expose __tcp_sock_set_cork and __tcp_sock_set_nodelay
  mptcp: expose mptcp_check_and_set_pending
  mptcp: support TCP_CORK and TCP_NODELAY

 include/linux/tcp.h                           |   2 +
 net/ipv4/tcp.c                                |   4 +-
 net/mptcp/pm_netlink.c                        |  14 +-
 net/mptcp/protocol.c                          |  91 ++-
 net/mptcp/protocol.h                          |   4 +
 net/mptcp/sockopt.c                           | 132 +++-
 tools/testing/selftests/net/mptcp/.gitignore  |   1 +
 tools/testing/selftests/net/mptcp/Makefile    |   2 +-
 .../selftests/net/mptcp/mptcp_connect.c       |  60 +-
 tools/testing/selftests/net/mptcp/mptcp_inq.c | 603 ++++++++++++++++++
 .../selftests/net/mptcp/mptcp_sockopt.c       |  63 ++
 .../selftests/net/mptcp/mptcp_sockopt.sh      |  44 +-
 12 files changed, 1007 insertions(+), 13 deletions(-)
 create mode 100644 tools/testing/selftests/net/mptcp/mptcp_inq.c


base-commit: bb14bfc7eb927b47717d82ba7ecc8345d9099cf4
-- 
2.34.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help