]> git.hungrycats.org Git - linux/commit
net: ipv6: select DST_CACHE from IPV6_RPL_LWTUNNEL
authorThomas Weißschuh <thomas.weissschuh@linutronix.de>
Mon, 16 Sep 2024 18:57:13 +0000 (20:57 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 22 Sep 2024 18:52:07 +0000 (19:52 +0100)
commit93c21077bb9ba08807c459982d440dbbee4c7af3
treed51407ff6b50b7893da9461b9561f3bf6572f197
parentb5109b60ee4fcb2f2bb24f589575e10cc5283ad4
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>
net/ipv6/Kconfig