ipv6: ila: select CONFIG_DST_CACHE
Subsystems (2)
PATCH 1/1 ipv6: ila: select CONFIG_DST_CACHE
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'.
Quoted 1 line
From all I can tell, this problem first appeared in linux-4.9
when dst_cache support got added to ILA.
--- net/ipv6/Kconfig | 1 + 1 file changed, 1 insertion(+)
net/ipv6/Kconfig +1 -0
@@ -108,6 +108,7 @@ config IPV6_MIP6 config IPV6_ILA tristate "IPv6: Identifier Locator Addressing (ILA)" depends on NETFILTER + select DST_CACHE select LWTUNNEL ---help--- Support for IPv6 Identifier Locator Addressing (ILA).
Signature · 1 line
2.9.0
From: Arnd Bergmann <[email protected]>
Date: Wed, 18 Jul 2018 10:48:56 +0200
Quoted 11 lines
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_CACHEfrom some other tunnel protocol, and this one appears to be the only one missing the explicit 'select'.
Quoted 6 lines
From all I can tell, this problem first appeared in linux-4.9 when
dst_cachesupport got added to ILA.Fixes 79ff2fc31e0f ("ila: Cache a route to translated address")Cc Tom Herbert <[email protected]>Signed-off-by Arnd Bergmann <[email protected]>
Applied, thanks Arnd.