Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

net: ipv6: select DST_CACHE from IPV6_RPL_LWTUNNEL

The rpl sr tunnel code contains calls to dst_cache_*() which are
only present when the dst cache is built.
Select DST_CACHE to build the dst cache, similar to other kconfig
options in the same file.
Compiling the rpl sr tunnel without DST_CACHE will lead to linker
errors.

Fixes: a7a29f9c361f ("net: ipv6: add rpl sr tunnel")
Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Reviewed-by: Simon Horman <horms@kernel.org>
Tested-by: Simon Horman <horms@kernel.org> # build-tested
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Thomas Weißschuh and committed by
David S. Miller
93c21077 b5109b60

+1
+1
net/ipv6/Kconfig
··· 323 323 bool "IPv6: RPL Source Routing Header support" 324 324 depends on IPV6 325 325 select LWTUNNEL 326 + select DST_CACHE 326 327 help 327 328 Support for RFC6554 RPL Source Routing Header using the lightweight 328 329 tunnels mechanism.