[PATCH net-next 0/4] mptcp: cleanup and support more ephemeral ports sockopts

Matthieu Baerts posted 4 patches 4 months, 1 week ago
Failed in applying to current master (apply log)
net/mptcp/protocol.c                              | 108 +++++++++-------------
net/mptcp/sockopt.c                               |  27 +++++-
tools/testing/selftests/net/ip_local_port_range.c |  12 +++
3 files changed, 79 insertions(+), 68 deletions(-)
[PATCH net-next 0/4] mptcp: cleanup and support more ephemeral ports sockopts
Posted by Matthieu Baerts 4 months, 1 week ago
Patch 1 is a cleanup one: mptcp_is_tcpsk() helper was modifying sock_ops
in some cases which is unexpected with that name.

Patch 2 to 4 add support for two socket options: IP_LOCAL_PORT_RANGE and
IP_BIND_ADDRESS_NO_PORT. The first one is a preparation patch, the
second one adds the support while the last one modifies an existing
selftest to validate the new features.

Signed-off-by: Matthieu Baerts <matttbe@kernel.org>
---
Davide Caratti (1):
      mptcp: don't overwrite sock_ops in mptcp_is_tcpsk()

Maxim Galaganov (3):
      mptcp: rename mptcp_setsockopt_sol_ip_set_transparent()
      mptcp: sockopt: support IP_LOCAL_PORT_RANGE and IP_BIND_ADDRESS_NO_PORT
      selftests/net: add MPTCP coverage for IP_LOCAL_PORT_RANGE

 net/mptcp/protocol.c                              | 108 +++++++++-------------
 net/mptcp/sockopt.c                               |  27 +++++-
 tools/testing/selftests/net/ip_local_port_range.c |  12 +++
 3 files changed, 79 insertions(+), 68 deletions(-)
---
base-commit: 62ed78f3baff396bd928ee77077580c5aa940149
change-id: 20231219-upstream-net-next-20231219-mptcp-sockopts-ephemeral-ports-645522e83161

Best regards,
-- 
Matthieu Baerts <matttbe@kernel.org>