Skip to content

Commit

Permalink
mptcp: MPTCP_IPV6 should depend on IPV6 instead of selecting it
Browse files Browse the repository at this point in the history
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: f870fa0 ("mptcp: Add MPTCP socket stubs")
Signed-off-by: Geert Uytterhoeven <[email protected]>
Reviewed-by: Matthieu Baerts <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
  • Loading branch information
geertu authored and kuba-moo committed Oct 21, 2020
1 parent 6e915b2 commit 010b430
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/mptcp/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 010b430

Please sign in to comment.