Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp5060329pxu; Wed, 21 Oct 2020 12:10:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy1hS/l7at8vUhChBTB2SEOvSiu1I0/rSm0yRzglZhubXeSkSOD3Cqh+g8vNYftlTPVJJvQ X-Received: by 2002:a05:6402:c12:: with SMTP id co18mr4458886edb.162.1603307442521; Wed, 21 Oct 2020 12:10:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603307442; cv=none; d=google.com; s=arc-20160816; b=MbR+0SJq2BuyCxg/hPr+oo5icMKgMGE11tXfw9IrMmPxZyWYrt0vrJBA3R3qrIxgkf yX+/G0b4eueuAmb03XDAksNDqvc6lK4unbSADcdYabK0ic0P+RFQEWULYsaZ6oChbiDY 7d/5xrIWITJqqO6UPwocz5BiTfUfQPHhXPNJOESnKhccSuYi0WCdJSUcYHOXWvEC4Pk+ DgTQe9iY7yu4qhFrcVawwfbreO6SFA6UOB9U3qjCsvEuLHSlFmrG8bbxU7I31Ecuji7j OW9KRhHd+z7T5j1oo7KnTeOsxoAlhey8YHN9ZQPUeQpsx7f2qGrJQbH47YCFrltGksZp Yvfg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=A+dGe9E1y4GPCOVuJDYhJc0nPB3hrbmcXhf7DfkQJig=; b=Fgf7G6ATkGHnd5FRWwmW7MhDUVN9tMV3vUrNXuzAcTw0i3yN+y6dgls0Tcky4h3uCM MB2vXLCP9wOAxOYBpWVm2mi2ThkqdOb2TrsfPOPtQVIU9lnPh805v7YMAp1RqydHGuac cn1jhRP5FdPOR7MfbMXOH1LVCmm60L17iwgXDJr6XgCFvKlhCEaeAOqSR0/ckgRhcvS5 8bvfljxnV+ZNYolY+V4kS9RZyQHsuuZ04VGTqsQ9/bzFd+RWbJLqSIB2ZKa5RJj1A/ba 8IkugC2h5CCSQ9BQYkwFuIP12/9dQxf0RO7/Z7W3kCDR3PyVl/kni+NZm4SBDbmDgyVM heSg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a14si2005336ejj.581.2020.10.21.12.10.20; Wed, 21 Oct 2020 12:10:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2441483AbgJUJnU (ORCPT + 99 others); Wed, 21 Oct 2020 05:43:20 -0400 Received: from mail-oi1-f196.google.com ([209.85.167.196]:42793 "EHLO mail-oi1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2409025AbgJUJnU (ORCPT ); Wed, 21 Oct 2020 05:43:20 -0400 Received: by mail-oi1-f196.google.com with SMTP id 16so1431041oix.9; Wed, 21 Oct 2020 02:43:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=A+dGe9E1y4GPCOVuJDYhJc0nPB3hrbmcXhf7DfkQJig=; b=AiE915EBb1PQmO+5Z2Som/TotP5ENyM/3iMN/b4j5gKn+688sPNy6MgNmq/pDY0vQ4 WDi8YYhK3mdJsp3ySKnA26KAr+C/4JvMDk6HyB8d81UjmWLALp/oQ+effbUvyc0vC3sp f7JicHXUkgxZxYRxnmMqhiGOBnA04CW9Uy/HHcpUAjFuDKlB8R9fNxSpGq4TlDGn4sV8 ovcMkoR1YIYriBcB1LThRlf8mnJVe+cY9BmXSZj3Vg/pAvqHeZDbf1jWfCrqcx/ZroKC 4ntSoIRAtkMNVdrdlBzjJEzhcs7jHOVT9UQ850idZ2932nnzC4lhG+o4kKiGPEYqfszE 7Lig== X-Gm-Message-State: AOAM531RxlkJ2MY77yRn8g+LvgQYVDYoqOpnIB7ZYzikDntODIpB1WS8 lAMGxtB21naHyghPnrYHR9ul51+Lpk2oyn5Ld15WqsSat/o= X-Received: by 2002:a05:6808:8f5:: with SMTP id d21mr1520482oic.153.1603273399452; Wed, 21 Oct 2020 02:43:19 -0700 (PDT) MIME-Version: 1.0 References: <20201020073839.29226-1-geert@linux-m68k.org> <5dddd3fe-86d7-d07f-dbc9-51b89c7c8173@tessares.net> <20201020205647.20ab7009@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> In-Reply-To: <20201020205647.20ab7009@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> From: Geert Uytterhoeven Date: Wed, 21 Oct 2020 11:43:08 +0200 Message-ID: Subject: Re: [PATCH] mptcp: MPTCP_IPV6 should depend on IPV6 instead of selecting it To: Jakub Kicinski Cc: Matthieu Baerts , Mat Martineau , "David S . Miller" , Florian Westphal , Peter Krystad , netdev , mptcp@lists.01.org, Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Jakub, On Wed, Oct 21, 2020 at 5:56 AM Jakub Kicinski wrote: > On Tue, 20 Oct 2020 11:26:34 +0200 Matthieu Baerts wrote: > > On 20/10/2020 09:38, Geert Uytterhoeven wrote: > > > MPTCP_IPV6 selects IPV6, thus enabling an optional feature the user may > > > not want to enable. Fix this by making MPTCP_IPV6 depend on IPV6, like > > > is done for all other IPv6 features. > > > > Here again, the intension was to select IPv6 from MPTCP but I understand > > the issue: if we enable MPTCP, we will select IPV6 as well by default. > > Maybe not what we want on some embedded devices with very limited memory > > where IPV6 is already off. We should instead enable MPTCP_IPV6 only if > > IPV6=y. LGTM then! > > > > Reviewed-by: Matthieu Baerts > > Applied, thanks! My apologies, this fails for the CONFIG_IPV6=m and CONFIG_MPTCP=y case: + error: net/mptcp/protocol.o: undefined reference to `inet6_getname': => .rodata+0x19c) + error: net/mptcp/protocol.o: undefined reference to `inet6_ioctl': => .rodata+0x1a4) + error: net/mptcp/protocol.o: undefined reference to `inet6_recvmsg': => .rodata+0x1c4) + error: net/mptcp/protocol.o: undefined reference to `inet6_release': => .rodata+0x188) + error: net/mptcp/protocol.o: undefined reference to `inet6_sendmsg': => .rodata+0x1c0) + error: protocol.c: undefined reference to `inet6_destroy_sock': => .text+0x4994) + error: protocol.c: undefined reference to `inet6_register_protosw': => .init.text+0xc6) + error: protocol.c: undefined reference to `inet6_stream_ops': => .text+0x2bb0) + error: protocol.c: undefined reference to `tcpv6_prot': => .text+0x2ba8) + error: subflow.c: undefined reference to `tcp_request_sock_ipv6_ops': => .text+0x8e2) + error: undefined reference to `ipv6_specific': => (.init.text+0xea) + error: undefined reference to `tcp_request_sock_ipv6_ops': => (.init.text+0xc4) So those issues have to be fixed first Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds