Commit 9f7276ce authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Greg Kroah-Hartman

ipv6: ila: select CONFIG_DST_CACHE

[ Upstream commit 83ed7d1f ]

My randconfig builds came across an old missing dependency for ILA:

ERROR: "dst_cache_set_ip6" [net/ipv6/ila/ila.ko] undefined!
ERROR: "dst_cache_get" [net/ipv6/ila/ila.ko] undefined!
ERROR: "dst_cache_init" [net/ipv6/ila/ila.ko] undefined!
ERROR: "dst_cache_destroy" [net/ipv6/ila/ila.ko] undefined!

We almost never run into this by accident because randconfig builds
end up selecting DST_CACHE from some other tunnel protocol, and this
one appears to be the only one missing the explicit 'select'.

>From all I can tell, this problem first appeared in linux-4.9
when dst_cache support got added to ILA.

Fixes: 79ff2fc3 ("ila: Cache a route to translated address")
Cc: Tom Herbert <tom@herbertland.com>
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent a5d33d38
...@@ -109,6 +109,7 @@ config IPV6_MIP6 ...@@ -109,6 +109,7 @@ config IPV6_MIP6
config IPV6_ILA config IPV6_ILA
tristate "IPv6: Identifier Locator Addressing (ILA)" tristate "IPv6: Identifier Locator Addressing (ILA)"
depends on NETFILTER depends on NETFILTER
select DST_CACHE
select LWTUNNEL select LWTUNNEL
---help--- ---help---
Support for IPv6 Identifier Locator Addressing (ILA). Support for IPv6 Identifier Locator Addressing (ILA).
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment