[net-next,0/4] mptcp: unify PM interfaces

Message ID 20230608-upstream-net-next-20230608-mptcp-unify-pm-interfaces-v1-0-b301717c9ff5@tessares.net
Headers
Series mptcp: unify PM interfaces |

Message

Matthieu Baerts June 8, 2023, 1:20 p.m. UTC
  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,
  

Comments

patchwork-bot+netdevbpf@kernel.org June 10, 2023, 7:12 a.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Thu, 08 Jun 2023 15:20:48 +0200 you wrote:
> 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.
> 
> [...]

Here is the summary with links:
  - [net-next,1/4] mptcp: export local_address
    https://git.kernel.org/netdev/net-next/c/dc886bce753c
  - [net-next,2/4] mptcp: unify pm get_local_id interfaces
    https://git.kernel.org/netdev/net-next/c/9bbec87ecfe8
  - [net-next,3/4] mptcp: unify pm get_flags_and_ifindex_by_id
    https://git.kernel.org/netdev/net-next/c/f40be0db0b76
  - [net-next,4/4] mptcp: unify pm set_flags interfaces
    (no matching commit)

You are awesome, thank you!