All of lore.kernel.org
 help / color / mirror / Atom feed
From: Geert Uytterhoeven <geert at linux-m68k.org>
To: mptcp at lists.01.org
Subject: [MPTCP] [PATCH] mptcp: MPTCP_IPV6 should depend on IPV6 instead of selecting it
Date: Tue, 20 Oct 2020 09:38:39 +0200	[thread overview]
Message-ID: <20201020073839.29226-1-geert@linux-m68k.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 741 bytes --]

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.

Fixes: f870fa0b5768842c ("mptcp: Add MPTCP socket stubs")
Signed-off-by: Geert Uytterhoeven <geert(a)linux-m68k.org>
---
 net/mptcp/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/mptcp/Kconfig b/net/mptcp/Kconfig
index abb0a992d4a0855a..8936604b3bf9d76d 100644
--- a/net/mptcp/Kconfig
+++ b/net/mptcp/Kconfig
@@ -19,7 +19,7 @@ config INET_MPTCP_DIAG
 
 config MPTCP_IPV6
 	bool "MPTCP: IPv6 support for Multipath TCP"
-	select IPV6
+	depends on IPV6
 	default y
 
 config MPTCP_KUNIT_TESTS
-- 
2.17.1

WARNING: multiple messages have this Message-ID (diff)
From: Geert Uytterhoeven <geert@linux-m68k.org>
To: Mat Martineau <mathew.j.martineau@linux.intel.com>,
	Matthieu Baerts <matthieu.baerts@tessares.net>,
	"David S . Miller" <davem@davemloft.net>,
	Jakub Kicinski <kuba@kernel.org>, Florian Westphal <fw@strlen.de>,
	Peter Krystad <peter.krystad@linux.intel.com>
Cc: netdev@vger.kernel.org, mptcp@lists.01.org,
	linux-kernel@vger.kernel.org,
	Geert Uytterhoeven <geert@linux-m68k.org>
Subject: [PATCH] mptcp: MPTCP_IPV6 should depend on IPV6 instead of selecting it
Date: Tue, 20 Oct 2020 09:38:39 +0200	[thread overview]
Message-ID: <20201020073839.29226-1-geert@linux-m68k.org> (raw)

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.

Fixes: f870fa0b5768842c ("mptcp: Add MPTCP socket stubs")
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
---
 net/mptcp/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/mptcp/Kconfig b/net/mptcp/Kconfig
index abb0a992d4a0855a..8936604b3bf9d76d 100644
--- a/net/mptcp/Kconfig
+++ b/net/mptcp/Kconfig
@@ -19,7 +19,7 @@ config INET_MPTCP_DIAG
 
 config MPTCP_IPV6
 	bool "MPTCP: IPv6 support for Multipath TCP"
-	select IPV6
+	depends on IPV6
 	default y
 
 config MPTCP_KUNIT_TESTS
-- 
2.17.1


             reply	other threads:[~2020-10-20  7:38 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-20  7:38 Geert Uytterhoeven [this message]
2020-10-20  7:38 ` [PATCH] mptcp: MPTCP_IPV6 should depend on IPV6 instead of selecting it Geert Uytterhoeven
2020-10-20  9:26 [MPTCP] " Matthieu Baerts
2020-10-20  9:26 ` Matthieu Baerts
2020-10-21  3:56 [MPTCP] " Jakub Kicinski
2020-10-21  3:56 ` Jakub Kicinski
2020-10-21  9:43 [MPTCP] " Geert Uytterhoeven
2020-10-21  9:43 ` Geert Uytterhoeven
2020-10-21  9:47 [MPTCP] " Matthieu Baerts
2020-10-21  9:47 ` Matthieu Baerts
2020-10-21  9:52 [MPTCP] " Geert Uytterhoeven
2020-10-21  9:52 ` Geert Uytterhoeven
2020-10-21 10:54 [MPTCP] " Matthieu Baerts
2020-10-21 10:54 ` Matthieu Baerts

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201020073839.29226-1-geert@linux-m68k.org \
    --to=unknown@example.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.