On Thu, Mar 13, 2025 at 11:20:56AM +0100, Matthieu Baerts (NGI0) wrote: > From: Geliang Tang <tanggeliang@xxxxxxxxxx> > > This patch defines the original in-kernel netlink path manager as a > new struct mptcp_pm_ops named "mptcp_pm_kernel", and register it in > mptcp_pm_kernel_register(). And define the userspace path manager as > a new struct mptcp_pm_ops named "mptcp_pm_userspace", and register it > in mptcp_pm_init(). > > To ensure that there's always a valid path manager available, the default > path manager "mptcp_pm_kernel" will be skipped in mptcp_pm_unregister(). > > Signed-off-by: Geliang Tang <tanggeliang@xxxxxxxxxx> > Reviewed-by: Matthieu Baerts (NGI0) <matttbe@xxxxxxxxxx> > Signed-off-by: Matthieu Baerts (NGI0) <matttbe@xxxxxxxxxx> Reviewed-by: Simon Horman <horms@xxxxxxxxxx>