]> www.infradead.org Git - users/hch/misc.git/commit
mptcp: pm: split netlink and in-kernel init
authorMatthieu Baerts (NGI0) <matttbe@kernel.org>
Thu, 13 Mar 2025 10:20:50 +0000 (11:20 +0100)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 20 Mar 2025 09:14:48 +0000 (10:14 +0100)
commitb97d6b6820279c84d67d5e870d87ce45e8e348a5
treee0fb64998f807f652f5c7e0ce0b9809f3e520a2b
parent27b918007d96402aba10ed52a6af8015230f1793
mptcp: pm: split netlink and in-kernel init

The registration of mptcp_genl_family is useful for both the in-kernel
and the userspace PM. It should then be done in pm_netlink.c.

On the other hand, the registration of the in-kernel pernet subsystem is
specific to the in-kernel PM, and should stay there in pm_kernel.c.

Reviewed-by: Mat Martineau <martineau@kernel.org>
Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20250313-net-next-mptcp-pm-ops-intro-v1-1-f4e4a88efc50@kernel.org
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
net/mptcp/pm.c
net/mptcp/pm_kernel.c
net/mptcp/pm_netlink.c
net/mptcp/protocol.h