ip_gre: Fix dependencies wrt. ipv6.
authorDavid S. Miller <davem@davemloft.net>
Wed, 29 Sep 2010 05:37:56 +0000 (22:37 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 29 Sep 2010 05:37:56 +0000 (22:37 -0700)
commit68c1f3a96c32a4fe15ebadae45c8145a5e5a66d2
treeeaad407fb9f2c6381f3457585d394d587eeeb301
parent4d22f7d372f5769c6c0149e427ed6353e2dcfe61
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>
net/ipv4/Kconfig