public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next 00/10] mptcp: pm: misc cleanups, part 3
@ 2025-02-21 15:43 Matthieu Baerts (NGI0)
  2025-02-21 15:43 ` [PATCH net-next 01/10] mptcp: pm: remove unused ret value to set flags Matthieu Baerts (NGI0)
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: Matthieu Baerts (NGI0) @ 2025-02-21 15:43 UTC (permalink / raw)
  To: mptcp, Mat Martineau, Geliang Tang, David S. Miller, Eric Dumazet,
	Jakub Kicinski, Paolo Abeni, Simon Horman
  Cc: netdev, linux-kernel, Matthieu Baerts (NGI0), Geliang Tang

These cleanups lead the way to the unification of the path-manager
interfaces, and allow future extensions. The following patches are not
all linked to each others, but are all related to the path-managers,
except the last three.

- Patch 1: remove unused returned value in mptcp_nl_set_flags().

- Patch 2: new flag: avoid iterating over all connections if not needed.

- Patch 3: add a build check making sure there is enough space in cb-ctx.

- Patch 4: new mptcp_pm_genl_fill_addr helper to reduce duplicated code.

- Patch 5: simplify userspace_pm_append_new_local_addr helper.

- Patch 6: drop unneeded inet6_sk().

- Patch 7: use ipv6_addr_equal() instead of !ipv6_addr_cmp()

- Patch 8: scheduler: split an interface in two.

- Patch 9: scheduler: save 64 bytes of currently unused data.

- Patch 10: small optimisation to exit early in case of retransmissions.

Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
---
Geliang Tang (6):
      mptcp: pm: add a build check for userspace_pm_dump_addr
      mptcp: pm: add mptcp_pm_genl_fill_addr helper
      mptcp: pm: drop match in userspace_pm_append_new_local_addr
      mptcp: pm: drop inet6_sk after inet_sk
      mptcp: pm: use ipv6_addr_equal in addresses_equal
      mptcp: sched: split get_subflow interface into two

Matthieu Baerts (NGI0) (4):
      mptcp: pm: remove unused ret value to set flags
      mptcp: pm: change to fullmesh only for 'subflow'
      mptcp: sched: reduce size for unused data
      mptcp: blackhole: avoid checking the state twice

 include/net/mptcp.h      |  5 +++--
 net/mptcp/ctrl.c         | 32 ++++++++++++++++++--------------
 net/mptcp/pm.c           | 21 +++++++++++++++++++++
 net/mptcp/pm_netlink.c   | 46 ++++++++++++++++------------------------------
 net/mptcp/pm_userspace.c | 29 +++++++----------------------
 net/mptcp/protocol.h     |  3 +++
 net/mptcp/sched.c        | 39 ++++++++++++++++++++++++++-------------
 7 files changed, 94 insertions(+), 81 deletions(-)
---
base-commit: bb3bb6c92e5719c0f5d7adb9d34db7e76705ac33
change-id: 20250221-net-next-mptcp-pm-misc-cleanup-3-51e9c67a95a6

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


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2025-02-25  2:30 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-21 15:43 [PATCH net-next 00/10] mptcp: pm: misc cleanups, part 3 Matthieu Baerts (NGI0)
2025-02-21 15:43 ` [PATCH net-next 01/10] mptcp: pm: remove unused ret value to set flags Matthieu Baerts (NGI0)
2025-02-21 15:43 ` [PATCH net-next 02/10] mptcp: pm: change to fullmesh only for 'subflow' Matthieu Baerts (NGI0)
2025-02-21 15:43 ` [PATCH net-next 03/10] mptcp: pm: add a build check for userspace_pm_dump_addr Matthieu Baerts (NGI0)
2025-02-21 15:43 ` [PATCH net-next 04/10] mptcp: pm: add mptcp_pm_genl_fill_addr helper Matthieu Baerts (NGI0)
2025-02-21 15:43 ` [PATCH net-next 05/10] mptcp: pm: drop match in userspace_pm_append_new_local_addr Matthieu Baerts (NGI0)
2025-02-21 15:43 ` [PATCH net-next 06/10] mptcp: pm: drop inet6_sk after inet_sk Matthieu Baerts (NGI0)
2025-02-21 15:44 ` [PATCH net-next 07/10] mptcp: pm: use ipv6_addr_equal in addresses_equal Matthieu Baerts (NGI0)
2025-02-21 15:44 ` [PATCH net-next 08/10] mptcp: sched: split get_subflow interface into two Matthieu Baerts (NGI0)
2025-02-21 15:44 ` [PATCH net-next 09/10] mptcp: sched: reduce size for unused data Matthieu Baerts (NGI0)
2025-02-21 15:44 ` [PATCH net-next 10/10] mptcp: blackhole: avoid checking the state twice Matthieu Baerts (NGI0)
2025-02-25  2:30 ` [PATCH net-next 00/10] mptcp: pm: misc cleanups, part 3 patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox