From: David S. Miller Date: Wed, 29 Sep 2010 05:37:56 +0000 (-0700) Subject: ip_gre: Fix dependencies wrt. ipv6. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=68c1f3a96c32a4fe15ebadae45c8145a5e5a66d2;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git ip_gre: Fix dependencies wrt. ipv6. The GRE tunnel driver needs to invoke icmpv6 helpers in the ipv6 stack when ipv6 support is enabled. Therefore if IPV6 is enabled, we have to enforce that GRE's enabling (modular or static) matches that of ipv6. Reported-by: Patrick McHardy Reported-by: Herbert Xu Signed-off-by: David S. Miller --- diff --git a/net/ipv4/Kconfig b/net/ipv4/Kconfig index 571f8950ed06..72380a30d1c8 100644 --- a/net/ipv4/Kconfig +++ b/net/ipv4/Kconfig @@ -217,6 +217,7 @@ config NET_IPIP config NET_IPGRE tristate "IP: GRE tunnels over IP" + depends on IPV6 || IPV6=n help Tunneling means encapsulating data of one protocol type within another protocol and sending it over a channel that understands the