[PATCH net-next 0/5] mptcp: Refactor inet_accept() and MIB updates

Mat Martineau posted 5 patches 1 year ago
Failed in applying to current master (apply log)
include/net/inet_common.h                       |   2 +
net/ipv4/af_inet.c                              |  32 +++----
net/mptcp/mib.c                                 |   6 ++
net/mptcp/mib.h                                 |  18 ++++
net/mptcp/options.c                             |   5 +-
net/mptcp/pm.c                                  |   6 +-
net/mptcp/protocol.c                            |  21 +++--
tools/testing/selftests/net/mptcp/mptcp_join.sh | 112 +++++++++++++-----------
8 files changed, 122 insertions(+), 80 deletions(-)
[PATCH net-next 0/5] mptcp: Refactor inet_accept() and MIB updates
Posted by Mat Martineau 1 year ago
Patches 1 and 2 refactor inet_accept() to provide a new __inet_accept()
that's usable with locked sockets, and then make use of that helper to
simplify mptcp_stream_accept().

Patches 3 and 4 add some new MIBS related to MPTCP address advertisement
and update related selftest scripts.

Patch 5 modifies the selftests to ensure MIBS are only printed once when
a test case fails.

Signed-off-by: Mat Martineau <martineau@kernel.org>
---
Paolo Abeni (5):
      inet: factor out locked section of inet_accept() in a new helper
      mptcp: refactor mptcp_stream_accept()
      mptcp: introduces more address related mibs
      selftests: mptcp: add explicit check for new mibs
      selftests: mptcp: centralize stats dumping

 include/net/inet_common.h                       |   2 +
 net/ipv4/af_inet.c                              |  32 +++----
 net/mptcp/mib.c                                 |   6 ++
 net/mptcp/mib.h                                 |  18 ++++
 net/mptcp/options.c                             |   5 +-
 net/mptcp/pm.c                                  |   6 +-
 net/mptcp/protocol.c                            |  21 +++--
 tools/testing/selftests/net/mptcp/mptcp_join.sh | 112 +++++++++++++-----------
 8 files changed, 122 insertions(+), 80 deletions(-)
---
base-commit: af2eab1a824349cfb0f6a720ad06eea48e9e6b74
change-id: 20230516-send-net-next-20220516-8dea88296e52

Best regards,
-- 
Mat Martineau <martineau@kernel.org>