Skip to content

Commit a8ccabf

Browse files
t-8chSasha Levin
authored and
Sasha Levin
committed
net: ipv6: select DST_CACHE from IPV6_RPL_LWTUNNEL
[ Upstream commit 93c2107 ] 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: a7a29f9 ("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> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent 8dc97da commit a8ccabf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

net/ipv6/Kconfig

+1
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,7 @@ config IPV6_RPL_LWTUNNEL
322322
bool "IPv6: RPL Source Routing Header support"
323323
depends on IPV6
324324
select LWTUNNEL
325+
select DST_CACHE
325326
help
326327
Support for RFC6554 RPL Source Routing Header using the lightweight
327328
tunnels mechanism.

0 commit comments

Comments
 (0)