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

Simon Horman
2025-03-18T17:24:47Z

On Thu, Mar 13, 2025 at 11:20:59AM +0100, Matthieu Baerts (NGI0) wrote:
> From: Geliang Tang <tanggeliang@kylinos.cn>
>
> This patch adds a new proc_handler "proc_pm_type" for "pm_type" to
> map old path manager sysctl "pm_type" to the newly added "path_manager".
>
> path_manager pm_type
>
> MPTCP_PM_TYPE_KERNEL -> "kernel"
> MPTCP_PM_TYPE_USERSPACE -> "userspace"
>
> It is important to add this to keep a compatibility with the now
> deprecated pm_type sysctl knob.
>
> Signed-off-by: Geliang Tang <tanggeliang@kylinos.cn>
> Reviewed-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
> Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>

Reviewed-by: Simon Horman <horms@kernel.org>