Skip to content

Commit 93c2107

Browse files
t-8chdavem330
authored andcommitted
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: a7a29f9 ("net: ipv6: add rpl sr tunnel") Signed-off-by: Thomas Weißschuh <[email protected]> Reviewed-by: Simon Horman <[email protected]> Tested-by: Simon Horman <[email protected]> # build-tested Signed-off-by: David S. Miller <[email protected]>
1 parent b5109b6 commit 93c2107

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

net/ipv6/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -323,6 +323,7 @@ config IPV6_RPL_LWTUNNEL
323323
bool "IPv6: RPL Source Routing Header support"
324324
depends on IPV6
325325
select LWTUNNEL
326+
select DST_CACHE
326327
help
327328
Support for RFC6554 RPL Source Routing Header using the lightweight
328329
tunnels mechanism.

0 commit comments

Comments
 (0)