@@ -117,3 +117,14 @@ void __init mptcp_init(void)
if (register_pernet_subsys(&mptcp_pernet_ops) < 0)
panic("Failed to register MPTCP pernet subsystem.\n");
}
+
+#if IS_ENABLED(CONFIG_MPTCP_IPV6)
+int __init mptcpv6_init(void)
+{
+ int err;
+
+ err = mptcp_proto_v6_init();
+
+ return err;
+}
+#endif
@@ -999,7 +999,7 @@ static struct inet_protosw mptcp_v6_protosw = {
.flags = INET_PROTOSW_ICSK,
};
-int mptcpv6_init(void)
+int mptcp_proto_v6_init(void)
{
int err;
@@ -232,6 +232,9 @@ extern const struct inet_connection_sock_af_ops ipv6_specific;
#endif
void mptcp_proto_init(void);
+#if IS_ENABLED(CONFIG_MPTCP_IPV6)
+int mptcp_proto_v6_init(void);
+#endif
struct mptcp_read_arg {
struct msghdr *msg;
squashto: new sysctl to control the activation per NS Signed-off-by: Peter Krystad <peter.krystad@linux.intel.com> --- net/mptcp/ctrl.c | 11 +++++++++++ net/mptcp/protocol.c | 2 +- net/mptcp/protocol.h | 3 +++ 3 files changed, 15 insertions(+), 1 deletion(-)