netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/4] mptcp: unify PM interfaces
@ 2023-06-08 13:20 Matthieu Baerts
  2023-06-08 13:20 ` [PATCH net-next 1/4] mptcp: export local_address Matthieu Baerts
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Matthieu Baerts @ 2023-06-08 13:20 UTC (permalink / raw)
  To: mptcp, Mat Martineau, David S. Miller, Eric Dumazet,
	Jakub Kicinski, Paolo Abeni
  Cc: netdev, linux-kernel, Geliang Tang, Matthieu Baerts

These patches from Geliang better isolate the two MPTCP path-managers by
avoiding calling userspace PM functions from the in-kernel PM. Instead,
new functions declared in pm.c directly dispatch to the right PM.

In addition to have a clearer code, this also avoids a bit of duplicated
checks.

This is a refactoring, there is no behaviour change intended here.

Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net>
---
Geliang Tang (4):
      mptcp: export local_address
      mptcp: unify pm get_local_id interfaces
      mptcp: unify pm get_flags_and_ifindex_by_id
      mptcp: unify pm set_flags interfaces

 net/mptcp/pm.c           |  41 ++++++++++++++-
 net/mptcp/pm_netlink.c   | 132 ++++++++++++++++++++---------------------------
 net/mptcp/pm_userspace.c |   3 --
 net/mptcp/protocol.h     |   9 +++-
 4 files changed, 103 insertions(+), 82 deletions(-)
---
base-commit: 4a56212774acf71a7356026fb11b78228a7ad24d
change-id: 20230608-upstream-net-next-20230608-mptcp-unify-pm-interfaces-497ff5de464e

Best regards,
-- 
Matthieu Baerts <matthieu.baerts@tessares.net>


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

end of thread, other threads:[~2023-06-10  7:12 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-08 13:20 [PATCH net-next 0/4] mptcp: unify PM interfaces Matthieu Baerts
2023-06-08 13:20 ` [PATCH net-next 1/4] mptcp: export local_address Matthieu Baerts
2023-06-09 11:25   ` Larysa Zaremba
2023-06-08 13:20 ` [PATCH net-next 2/4] mptcp: unify pm get_local_id interfaces Matthieu Baerts
2023-06-09 11:48   ` Larysa Zaremba
2023-06-08 13:20 ` [PATCH net-next 3/4] mptcp: unify pm get_flags_and_ifindex_by_id Matthieu Baerts
2023-06-09 12:02   ` Larysa Zaremba
2023-06-08 13:20 ` [PATCH net-next 4/4] mptcp: unify pm set_flags interfaces Matthieu Baerts
2023-06-09 13:35   ` Larysa Zaremba
2023-06-10  7:12 ` [PATCH net-next 0/4] mptcp: unify PM interfaces 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;
as well as URLs for NNTP newsgroup(s).