summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2020-10-20 10:38:39 +0300
committerJakub Kicinski <kuba@kernel.org>2020-10-21 06:54:08 +0300
commit010b430d5df556d5d232e3751ac691ba9e88c041 (patch)
treedea6e60b98809ae6d5bc8e3adcfc1002700c793e
parent6e915b274860dcb9301ba7d6e9e033903fbf6137 (diff)
downloadlinux-010b430d5df556d5d232e3751ac691ba9e88c041.tar.xz
mptcp: MPTCP_IPV6 should depend on IPV6 instead of selecting it
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> Reviewed-by: Matthieu Baerts <matthieu.baerts@tessares.net> Link: https://lore.kernel.org/r/20201020073839.29226-1-geert@linux-m68k.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
-rw-r--r--net/mptcp/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mptcp/Kconfig b/net/mptcp/Kconfig
index abb0a992d4a0..8936604b3bf9 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