Re: [PATCH net-next 04/12] mptcp: pm: only fill id_avail_bitmap for in-kernel pm

Simon Horman
2025-03-18T17:22:59Z

On Thu, Mar 13, 2025 at 11:20:53AM +0100, Matthieu Baerts (NGI0) wrote:
> From: Geliang Tang <tanggeliang@kylinos.cn>
>
> id_avail_bitmap of struct mptcp_pm_data is currently only used by the
> in-kernel PM, so this patch moves its initialization operation under
> the "if (pm_type == MPTCP_PM_TYPE_KERNEL)" condition.
>
> Suggested-by: Matthieu Baerts <matttbe@kernel.org>
> 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>