|
|
Subscribe / Log in / New account

mptcp: improve code coverage and small optimisations

From:  "Matthieu Baerts (NGI0)" <matttbe-AT-kernel.org>
To:  mptcp-AT-lists.linux.dev, Mat Martineau <martineau-AT-kernel.org>, Geliang Tang <geliang-AT-kernel.org>, "David S. Miller" <davem-AT-davemloft.net>, Eric Dumazet <edumazet-AT-google.com>, Jakub Kicinski <kuba-AT-kernel.org>, Paolo Abeni <pabeni-AT-redhat.com>, Simon Horman <horms-AT-kernel.org>, Shuah Khan <shuah-AT-kernel.org>
Subject:  [PATCH net-next 0/5] mptcp: improve code coverage and small optimisations
Date:  Fri, 28 Feb 2025 15:38:34 +0100
Message-ID:  <20250228-net-next-mptcp-coverage-small-opti-v1-0-f933c4275676@kernel.org>
Cc:  linux-kernel-AT-vger.kernel.org, netdev-AT-vger.kernel.org, linux-kselftest-AT-vger.kernel.org, "Matthieu Baerts (NGI0)" <matttbe-AT-kernel.org>, Gang Yan <yangang-AT-kylinos.cn>, Geliang Tang <geliang-AT-kernel.org>
Archive-link:  Article

This small series have various unrelated patches:

- Patch 1 and 2: improve code coverage by validating mptcp_diag_dump_one
  thanks to a new tool displaying MPTCP info for a specific token.

- Patch 3: a fix for a commit which is only in net-next.

- Patch 4: reduce parameters for one in-kernel PM helper.

- Patch 5: exit early when processing an ADD_ADDR echo to avoid unneeded
  operations.

Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
---
Gang Yan (2):
      selftests: mptcp: Add a tool to get specific msk_info
      selftests: mptcp: add a test for mptcp_diag_dump_one

Geliang Tang (2):
      mptcp: pm: in-kernel: avoid access entry without lock
      mptcp: pm: in-kernel: reduce parameters of set_flags

Matthieu Baerts (NGI0) (1):
      mptcp: pm: exit early with ADD_ADDR echo if possible

 net/mptcp/pm.c                                 |   3 +
 net/mptcp/pm_netlink.c                         |  15 +-
 tools/testing/selftests/net/mptcp/Makefile     |   2 +-
 tools/testing/selftests/net/mptcp/diag.sh      |  27 +++
 tools/testing/selftests/net/mptcp/mptcp_diag.c | 272 +++++++++++++++++++++++++
 5 files changed, 311 insertions(+), 8 deletions(-)
---
base-commit: 56794b5862c5a9aefcf2b703257c6fb93f76573e
change-id: 20250228-net-next-mptcp-coverage-small-opti-70d8dc1d329d

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




Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds