From: Geert Uytterhoeven Date: Tue, 20 Oct 2020 07:38:39 +0000 (+0200) Subject: mptcp: MPTCP_IPV6 should depend on IPV6 instead of selecting it X-Git-Tag: v5.10-rc1~40^2~17 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=010b430d5df5;p=linux-block.git 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 Reviewed-by: Matthieu Baerts Link: https://lore.kernel.org/r/20201020073839.29226-1-geert@linux-m68k.org Signed-off-by: Jakub Kicinski --- 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