ipv6: ila: select CONFIG_DST_CACHE
authorArnd Bergmann <arnd@arndb.de>
Wed, 18 Jul 2018 08:48:56 +0000 (10:48 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Jul 2018 17:22:37 +0000 (10:22 -0700)
commit83ed7d1fe2d2d4a11b30660dec20168bb473d9c1
tree6c5784d6f70aeb03015c8351d70372d5cc17bf30
parent3a9b0455062ffb9d2f6cd4473a76e3456f318c9f
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'.

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

Fixes: 79ff2fc31e0f ("ila: Cache a route to translated address")
Cc: Tom Herbert <tom@herbertland.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/Kconfig