Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp4825571pxu; Wed, 21 Oct 2020 06:23:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzdI3VdkxHjfrAtT7EAAHiD0iFUT2eY0L9aRZBx6O7aucWeNgHm2Ify20Ta5/Zffd980d3S X-Received: by 2002:a17:906:4351:: with SMTP id z17mr1885100ejm.110.1603286591985; Wed, 21 Oct 2020 06:23:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603286591; cv=none; d=google.com; s=arc-20160816; b=ryHeQ8gprMOe0PzjCO5MeUxa8rPXNDXOcWHuZYcW8cji4Xcl3trsW63FPb42hyv9Bz 41FIS0ZCiV/WFL9StE9zfP9pcZ+ZyCHis/jOXi/v2nn3iLIUO9qsX/+AnNCD1pEKThdy Qw9HvRsjYegV3MSDHbuorO4DSd9QY/+MWnbm47YtHeLhvMlgAtFBSUxWxiL3MmNQe9+K 421k2dcNwn81jgn6lJ9R2LzgsswEs4ZpXUufJFldjhCNdQ30a8uGB7vqmTnUFf7u7Riv rstE45n4vTqmR+Ckm5iJ77g30fexskJ8iVIyxJpUPuWbJAIrJDRi72MUQ+I+F0u5g9Ca TIQQ== 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=kJkrnozfaMLpPcgeu/Q+YTzE8Ukz50ZnvbK5wInOKOU=; b=DyGynxYsCu3vu/CXX69A11+JlkLtXz9uEmxJRPrfzJ58i2KOW9zPLaXATEYn9BeTVh i53KzerUQ1KX+rOHdhkOFwoYUDq7tZ/EwyNAPas8PFk8mCkYGzc6BrqEcqd20xvk0g39 LgXx0zMAh65L4bmzGLErpJElLbml9+Ocbu6ZqFuxYQ2PJEWNKwztXnzFHrKM8Fqgsmol Lci0GIxRBycS/Xeft6K2JR6UkiLwgT2lu24nAFS9xmaV6C+LFVaz5oquIi2/fHm/uNoV T4hEeagL8e852zX8MCtgphn+I5G6euAJuguEmxLkHu8Jn41re59PYt8v2XbT3OvBOiKv Tfzg== 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 r8si1374331edi.606.2020.10.21.06.22.49; Wed, 21 Oct 2020 06:23:11 -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 S2441534AbgJUJwf (ORCPT + 99 others); Wed, 21 Oct 2020 05:52:35 -0400 Received: from mail-ot1-f68.google.com ([209.85.210.68]:43906 "EHLO mail-ot1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2441494AbgJUJwf (ORCPT ); Wed, 21 Oct 2020 05:52:35 -0400 Received: by mail-ot1-f68.google.com with SMTP id k68so1274909otk.10; Wed, 21 Oct 2020 02:52:32 -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=kJkrnozfaMLpPcgeu/Q+YTzE8Ukz50ZnvbK5wInOKOU=; b=hsJrxhB23aYwgW88F304oLcUlluJ1SHAZKZYo5o2QyOv31yqelwKHXh2NbMutyrvxI cRjsqXAIErONu+pOtQiWApXhHPXNxjXbx5Sthe8Uu+jXuUwRw9lwLwVVxMgRNgplgo9A ZIepRsbEFh4R3999oOFGA5X/d2b3BVQpOposPMK7k1LZzjSMmvOa9tfzqMvsKXOuECDF 0T/7GYMS9SIxDeIgVVzQtRCHw7W6XN/gu0yDVl5PVzLU4p9JygUfhYGXdfcvtbkFpM7i io4kOo9hmGm0173yA3gaflTQ5GFrrSMKpmDJaEfqz+B0gZhg0WQOaRAR1nCjY7G5qAb6 0tyg== X-Gm-Message-State: AOAM531JHpCpafpqIECIK2IUcMbiBzHfQh0s5+yFYupKyG4Zq+11W9Uc jlqZ7hvePWEyJsdciAO5jV4RO8ZlbXL9V+0mHME= X-Received: by 2002:a9d:3b76:: with SMTP id z109mr2017856otb.250.1603273952560; Wed, 21 Oct 2020 02:52:32 -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> <619601b2-40c1-9257-ef2a-2c667361aa75@tessares.net> In-Reply-To: <619601b2-40c1-9257-ef2a-2c667361aa75@tessares.net> From: Geert Uytterhoeven Date: Wed, 21 Oct 2020 11:52:21 +0200 Message-ID: Subject: Re: [PATCH] mptcp: MPTCP_IPV6 should depend on IPV6 instead of selecting it To: Matthieu Baerts Cc: Jakub Kicinski , 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 Matthieu, On Wed, Oct 21, 2020 at 11:47 AM Matthieu Baerts wrote: > On 21/10/2020 11:43, Geert Uytterhoeven wrote: > > 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? I don't have a patch yet, so feel free to send one. 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