Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp4824724pxu; Wed, 21 Oct 2020 06:22:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzXtD5/R/UPPSah95tGb5YNky6XOyizVyOC/QTysQ6MgPO8IGlywzuICM3yUW8+CBk3zLgE X-Received: by 2002:a17:906:5402:: with SMTP id q2mr3468318ejo.316.1603286523707; Wed, 21 Oct 2020 06:22:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603286523; cv=none; d=google.com; s=arc-20160816; b=l6V2IPzQ4ZGd0SfZu8PD6X5X0r6u41yDhkpVMPdKtDyqD8sFEzvWKm9a1C7UwbQg4B np75/cMIgb7GFB5eiOvrLLRn6S7N4gp5s1w0iadGf1vV4ZEIlFOyYcnUmsim4yY7YxEp E3+ROZxHgHU0TGt0o7o6KYnNp0+D/0FAInwgpB+lSFB7j4r+UoikqgmL9/Mg7peXOKUl hhqtpBjd6gbyAm9mRndoyLik+5taAH0F7GMOtORK6xbYGB9B/IY3Cy1mEOgwriPPJuN/ TesyH0kmBY2ZNl67fhFz7re+ffU4ABtZygWb+Q1TKl5+xG7E7t28AGztJVl3Eyb8zKsQ VW5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=Q2JZXcMsiqhOVACNal6zJDus/P1Z6WAf7fS1Bz0hNkI=; b=JM/SJ8xY02C1ZO6tVVrTUEhactIqEFw8fUr7q1H4xl4QiVO6Ez8zE5bnWZ2DcMM2ws MahX1FwJ39VRFI466fdKWxC4fA8jzsk9PUqFtT2GI5qOvHyygVGv2y65Mc25L/aNbzw5 c5MD3oryu7M2s3Hx5cP3BveLdT/q1GwllaZv8l5RkGMH7cIPXMfW/BAPLAUlbzKKG8ob SDTUH+U4BCxo7Hzl6sscyUg17DZwN70KgHrslzJKpSvZ6YzWiL5fujFCkNt6RWIEja2I Bs1ND1hCxADYAdI5gECLTpIGulzj45Rz9TFXu4XeOolCvMs9fiz5Cef1hbL/zCBmUs8c kQ3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@tessares-net.20150623.gappssmtp.com header.s=20150623 header.b=KORecj9n; 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 r8si1302853edc.381.2020.10.21.06.21.41; Wed, 21 Oct 2020 06:22:03 -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; dkim=pass header.i=@tessares-net.20150623.gappssmtp.com header.s=20150623 header.b=KORecj9n; 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 S2441490AbgJUJrN (ORCPT + 99 others); Wed, 21 Oct 2020 05:47:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49862 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2409060AbgJUJrN (ORCPT ); Wed, 21 Oct 2020 05:47:13 -0400 Received: from mail-ed1-x544.google.com (mail-ed1-x544.google.com [IPv6:2a00:1450:4864:20::544]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5C4E9C0613CF for ; Wed, 21 Oct 2020 02:47:13 -0700 (PDT) Received: by mail-ed1-x544.google.com with SMTP id x1so1950024eds.1 for ; Wed, 21 Oct 2020 02:47:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tessares-net.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=Q2JZXcMsiqhOVACNal6zJDus/P1Z6WAf7fS1Bz0hNkI=; b=KORecj9n6tC7SyrGgbd3uu0KV3vj8KCaVpRx6eZA8pmF7WPBa9RsXsMKScqPGhBbEj zYgBKstEoZks+SzU9cpsEcbtsHF0btC6DpNwZlKrnoNFbPRL3DEaB9Zr2fUsifiqJCec ZH/2eGWSRUtPiTSInDbhEihvdrFLt6Q83g5pkBksX+V+shYMVWJhfTxFrjwnCxAHzmwa Q710KqRoS/tC2U31tPgVv5+Mu6HT/FNyztVhFMze/E5Nf/mpF5+zDFFkU4yAiM+MfESF Mwtf6FYXi7+5WzAoKt/YYaF4vGtePkz/6YA7Iw3q8o3bcbzoVnD2pLGodvMKV/b+TW/x Tfww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=Q2JZXcMsiqhOVACNal6zJDus/P1Z6WAf7fS1Bz0hNkI=; b=SRSfJYQ22SRLabFfpBwDb5x/+B5yxE0HtjKsOzw6W8iJRSFLjvL80+e7JIXQ7iRIpG 8Z/uR2Os5Jaaz9swVIXy2g5dC8bx7kRlNToARoL6VNhj9N7Hb8KZrb+Q3QL9aeKmfNQV jD9ihUdRUXlvsLGDUiyrg9jipAHMJwPU2Hb80DdnmmMWKsjnjUUKBGECQZ9mjSCfrvKa bpD2ewGXbCSVWLlTeicLdnvtcUEC27xuTuLkoixn6Al32wOOSwPzLy8U+VAsk1JZer9u NmsV6HQ9vI8DYVOwSxbVVv9nmYa6zF2eKuB0BHsKn90eigOf7rgNgo254lXB0oI3FWgX 6dNA== X-Gm-Message-State: AOAM532jlxlVHHa4RWAzXc8L5lhat8PfslCbzl0dCJZXLGBupDdCbatg McP+9nSYSr26TtIEgtYwfEoW8amDNBmfdFPj X-Received: by 2002:aa7:dcc2:: with SMTP id w2mr2202967edu.121.1603273631631; Wed, 21 Oct 2020 02:47:11 -0700 (PDT) Received: from tsr-lap-08.nix.tessares.net ([2a02:578:85b0:e00:9bd7:d012:64eb:ce81]) by smtp.gmail.com with ESMTPSA id i14sm1965436ejp.2.2020.10.21.02.47.10 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 21 Oct 2020 02:47:11 -0700 (PDT) Subject: Re: [PATCH] mptcp: MPTCP_IPV6 should depend on IPV6 instead of selecting it To: Geert Uytterhoeven , Jakub Kicinski Cc: Mat Martineau , "David S . Miller" , Florian Westphal , Peter Krystad , netdev , mptcp@lists.01.org, Linux Kernel Mailing List References: <20201020073839.29226-1-geert@linux-m68k.org> <5dddd3fe-86d7-d07f-dbc9-51b89c7c8173@tessares.net> <20201020205647.20ab7009@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> From: Matthieu Baerts Message-ID: <619601b2-40c1-9257-ef2a-2c667361aa75@tessares.net> Date: Wed, 21 Oct 2020 11:47:09 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.3.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Geert, On 21/10/2020 11:43, Geert Uytterhoeven wrote: > 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: Good point, MPTCP cannot be compiled as a module (like TCP). It should then depends on IPV6=y. I thought it would be the case. Do you want me to send a patch or do you already have one? Cheers, Matt -- Tessares | Belgium | Hybrid Access Solutions www.tessares.net