Browse Source

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 <kaber@trash.net>
Reported-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
David S. Miller 14 years ago
parent
commit
68c1f3a96c
1 changed files with 1 additions and 0 deletions
  1. 1 0
      net/ipv4/Kconfig

+ 1 - 0
net/ipv4/Kconfig

@@ -217,6 +217,7 @@ config NET_IPIP
 
 
 config NET_IPGRE
 config NET_IPGRE
 	tristate "IP: GRE tunnels over IP"
 	tristate "IP: GRE tunnels over IP"
+	depends on IPV6 || IPV6=n
 	help
 	help
 	  Tunneling means encapsulating data of one protocol type within
 	  Tunneling means encapsulating data of one protocol type within
 	  another protocol and sending it over a channel that understands the
 	  another protocol and sending it over a channel that understands the