diff mbox series

[net] selftests: mptcp: fix dependecies

Message ID 781f07aa4d05b123a80bf98f5839e1611a833272.1596791966.git.pabeni@redhat.com
State Accepted
Delegated to: David Miller
Headers show
Series [net] selftests: mptcp: fix dependecies | expand

Commit Message

Paolo Abeni Aug. 7, 2020, 9:32 a.m. UTC
Since commit df62f2ec3df6 ("selftests/mptcp: add diag interface tests")
the MPTCP selftests relies on the MPTCP diag interface which is
enabled by a specific kconfig knob: be sure to include it.

Fixes: df62f2ec3df6 ("selftests/mptcp: add diag interface tests")
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
---
 tools/testing/selftests/net/mptcp/config | 2 ++
 1 file changed, 2 insertions(+)

Comments

Matthieu Baerts Aug. 7, 2020, 10:16 a.m. UTC | #1
Hi Paolo,

On 07/08/2020 11:32, Paolo Abeni wrote:
> Since commit df62f2ec3df6 ("selftests/mptcp: add diag interface tests")
> the MPTCP selftests relies on the MPTCP diag interface which is
> enabled by a specific kconfig knob: be sure to include it.

Good catch! Thank you for the patch!

Reviewed-by: Matthieu Baerts <matthieu.baerts@tessares.net>

Cheers,
Matt
David Miller Aug. 8, 2020, 12:23 a.m. UTC | #2
From: Paolo Abeni <pabeni@redhat.com>
Date: Fri,  7 Aug 2020 11:32:04 +0200

> Since commit df62f2ec3df6 ("selftests/mptcp: add diag interface tests")
> the MPTCP selftests relies on the MPTCP diag interface which is
> enabled by a specific kconfig knob: be sure to include it.
> 
> Fixes: df62f2ec3df6 ("selftests/mptcp: add diag interface tests")
> Signed-off-by: Paolo Abeni <pabeni@redhat.com>

Applied, thanks!
diff mbox series

Patch

diff --git a/tools/testing/selftests/net/mptcp/config b/tools/testing/selftests/net/mptcp/config
index 2499824d9e1c..8df5cb8f71ff 100644
--- a/tools/testing/selftests/net/mptcp/config
+++ b/tools/testing/selftests/net/mptcp/config
@@ -1,4 +1,6 @@ 
 CONFIG_MPTCP=y
 CONFIG_MPTCP_IPV6=y
+CONFIG_INET_DIAG=m
+CONFIG_INET_MPTCP_DIAG=m
 CONFIG_VETH=y
 CONFIG_NET_SCH_NETEM=m