]> git.ipfire.org Git - thirdparty/kernel/stable.git/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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Oct 2024 13:11:08 +0000 (15:11 +0200)
commita3e83a402a736962f6969a9b319072babc0ffa8b
tree188eac8908ce3fc79b049a0629a0d46db6a1a9b9
parent822c7bb1f6f8b0331e8d1927151faf8db3b33afd
net: ipv6: select DST_CACHE from IPV6_RPL_LWTUNNEL

[ Upstream commit 93c21077bb9ba08807c459982d440dbbee4c7af3 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/ipv6/Kconfig