netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] mptcp: MPTCP_IPV6 should depend on IPV6 instead of selecting it
@ 2020-10-20  7:38 Geert Uytterhoeven
  2020-10-20  9:26 ` Matthieu Baerts
  0 siblings, 1 reply; 7+ messages in thread
From: Geert Uytterhoeven @ 2020-10-20  7:38 UTC (permalink / raw)
  To: Mat Martineau, Matthieu Baerts, David S . Miller, Jakub Kicinski,
	Florian Westphal, Peter Krystad
  Cc: netdev, mptcp, linux-kernel, Geert Uytterhoeven

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


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-10-21 10:54 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-20  7:38 [PATCH] mptcp: MPTCP_IPV6 should depend on IPV6 instead of selecting it Geert Uytterhoeven
2020-10-20  9:26 ` Matthieu Baerts
2020-10-21  3:56   ` Jakub Kicinski
2020-10-21  9:43     ` Geert Uytterhoeven
2020-10-21  9:47       ` Matthieu Baerts
2020-10-21  9:52         ` Geert Uytterhoeven
2020-10-21 10:54           ` Matthieu Baerts

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).