From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B2CB21D0E35; Wed, 2 Oct 2024 14:16:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727878560; cv=none; b=ZExUM03ku92p8cWM2S5Gfk0mApC3OQPUVoTpM2GyeBo5nsUDQBGoiN05VZEmQnFq2UCkLuyuWQv5a4a2yj0Q9CKBUgzfYUb1gkSLrzLczkzLvu4nkNbxzgsTh58puQ/YOiUafzrjVPvlQsvsgN6ULlN+isSBA2aFEdAFwMw5Avo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727878560; c=relaxed/simple; bh=JxHNV8eSb518h9PIlzEB/ipXJj9fEJG8vSVoukiTwmg=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=d8DmpYXJOtQRyyo1FGdap2a/FCZNIet7LRmDOSd52uv/SnjeCBUCOArDGTQ0raSspcOoB4QoFzMneDY3MC0+oOnXAD5iu+LjglId+9TVyeWZxUAnHscd0m+gDAuj2QhTkyKXZ8PkG7lUdt3ZYqLRoNaQPyYjykZqocX068paCU8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=k58lvlNQ; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="k58lvlNQ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E4B64C4CEC2; Wed, 2 Oct 2024 14:15:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1727878560; bh=JxHNV8eSb518h9PIlzEB/ipXJj9fEJG8vSVoukiTwmg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=k58lvlNQgrOOkl/SGw+0C/VPbunJzRiJGj2TZ88j2scHTb6pzX7//EGxxWlB1LRAw gqLDL5MULpD7se0sMZNsGH/7UyJMWlWOkM3MzkIY6NPRGE6e/WXkHWunyXJ4FFZIYC f0YjDced46edn/rkfsjTw2vwUgvHhEWWn0xUk62g= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, =?UTF-8?q?Thomas=20Wei=C3=9Fschuh?= , Simon Horman , "David S. Miller" , Sasha Levin Subject: [PATCH 6.10 438/634] net: ipv6: select DST_CACHE from IPV6_RPL_LWTUNNEL Date: Wed, 2 Oct 2024 14:58:58 +0200 Message-ID: <20241002125828.389377330@linuxfoundation.org> X-Mailer: git-send-email 2.46.2 In-Reply-To: <20241002125811.070689334@linuxfoundation.org> References: <20241002125811.070689334@linuxfoundation.org> User-Agent: quilt/0.67 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 6.10-stable review patch. If anyone has any objections, please let me know. ------------------ From: Thomas Weißschuh [ 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 Reviewed-by: Simon Horman Tested-by: Simon Horman # build-tested Signed-off-by: David S. Miller Signed-off-by: Sasha Levin --- net/ipv6/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/net/ipv6/Kconfig b/net/ipv6/Kconfig index 08d4b7132d4c4..1c9c686d9522f 100644 --- a/net/ipv6/Kconfig +++ b/net/ipv6/Kconfig @@ -323,6 +323,7 @@ config IPV6_RPL_LWTUNNEL bool "IPv6: RPL Source Routing Header support" depends on IPV6 select LWTUNNEL + select DST_CACHE help Support for RFC6554 RPL Source Routing Header using the lightweight tunnels mechanism. -- 2.43.0