Re: [PATCH] mptcp: Fix incorrect IPV6 dependency check

From: David Miller
Date: Thu Jan 30 2020 - 03:56:29 EST


From: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>
Date: Wed, 29 Jan 2020 19:01:17 +0100

> If CONFIG_MPTCP=y, CONFIG_MPTCP_IPV6=n, and CONFIG_IPV6=m:
>
> net/mptcp/protocol.o: In function `__mptcp_tcp_fallback':
> protocol.c:(.text+0x786): undefined reference to `inet6_stream_ops'
>
> Fix this by checking for CONFIG_MPTCP_IPV6 instead of CONFIG_IPV6, like
> is done in all other places in the mptcp code.
>
> Fixes: 8ab183deb26a3b79 ("mptcp: cope with later TCP fallback")
> Signed-off-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>

Applied.