[PATCH net-next 0/9] mptcp: Protocol in-use tracking and code cleanup

Mat Martineau posted 9 patches 1 year, 2 months ago
Failed in applying to current master (apply log)
net/mptcp/options.c                           |  3 +-
net/mptcp/pm_netlink.c                        |  5 +-
net/mptcp/protocol.c                          | 38 ++++++++-----
net/mptcp/protocol.h                          |  2 +-
net/mptcp/sockopt.c                           |  2 +-
net/mptcp/token.c                             | 14 +++--
net/mptcp/token_test.c                        |  3 +
tools/testing/selftests/net/mptcp/diag.sh     | 56 +++++++++++++++++--
.../selftests/net/mptcp/mptcp_connect.c       |  4 +-
9 files changed, 95 insertions(+), 32 deletions(-)
[PATCH net-next 0/9] mptcp: Protocol in-use tracking and code cleanup
Posted by Mat Martineau 1 year, 2 months ago
Here's a collection of commits from the MPTCP tree:

Patches 1-4 and 6 contain miscellaneous code cleanup for more consistent
use of helper functions, existing local variables, and better naming.

Patches 5, 7, and 9 add sock_prot_inuse tracking for MPTCP and an
associated self test.

Patch 8 modifies the mptcp_connect self test tool to exit on SIGUSR1
when in "slow mode".

Geliang Tang (3):
  mptcp: use msk_owned_by_me helper
  mptcp: use net instead of sock_net
  mptcp: use local variable ssk in write_options

Menglong Dong (6):
  mptcp: introduce 'sk' to replace 'sock->sk' in mptcp_listen()
  mptcp: init sk->sk_prot in build_msk()
  mptcp: rename 'sk' to 'ssk' in mptcp_token_new_connect()
  mptcp: add statistics for mptcp socket in use
  selftest: mptcp: exit from copyfd_io_poll() when receive SIGUSR1
  selftest: mptcp: add test for mptcp socket in use

 net/mptcp/options.c                           |  3 +-
 net/mptcp/pm_netlink.c                        |  5 +-
 net/mptcp/protocol.c                          | 38 ++++++++-----
 net/mptcp/protocol.h                          |  2 +-
 net/mptcp/sockopt.c                           |  2 +-
 net/mptcp/token.c                             | 14 +++--
 net/mptcp/token_test.c                        |  3 +
 tools/testing/selftests/net/mptcp/diag.sh     | 56 +++++++++++++++++--
 .../selftests/net/mptcp/mptcp_connect.c       |  4 +-
 9 files changed, 95 insertions(+), 32 deletions(-)


base-commit: 6bd4755c7c499dbcef46eaaeafa1a319da583b29
-- 
2.39.0