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

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

On Thu, Mar 13, 2025 at 11:20:58AM +0100, Matthieu Baerts (NGI0) wrote:
> From: Geliang Tang <tanggeliang@kylinos.cn>
>
> 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@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>