Re: [PATCH net-next 09/12] mptcp: sysctl: map path_manager to pm_type

From: Simon Horman
Date: Tue Mar 18 2025 - 13:26:55 EST


On Thu, Mar 13, 2025 at 11:20:58AM +0100, Matthieu Baerts (NGI0) wrote:
> From: Geliang Tang <tanggeliang@xxxxxxxxxx>
>
> This patch maps the newly added path manager sysctl "path_manager"
> to the old one "pm_type".
>
> path_manager pm_type
>
> "kernel" -> MPTCP_PM_TYPE_KERNEL
> "userspace" -> MPTCP_PM_TYPE_USERSPACE
> others -> __MPTCP_PM_TYPE_NR
>
> It is important to add this to keep a compatibility with the now
> deprecated pm_type sysctl knob.
>
> 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>