From d48d1015e85569315a61d7e474bd2ed4db0331c2 Mon Sep 17 00:00:00 2001 From: Rui Salvaterra Date: Thu, 14 Jan 2021 15:24:58 +0000 Subject: [PATCH] kernel: make lwtunnel support optional Not everyone will want to bloat their kernel by 24 kiB for such a niche feature. Fixes: a1a7f3274e0ed27511d45f62ee20281d8d57c7af "kernel: enable SRv6 support by enabling lwtunnel" Signed-off-by: Rui Salvaterra --- config/Config-kernel.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/config/Config-kernel.in b/config/Config-kernel.in index 7ab19c43bc..1b0de0b768 100644 --- a/config/Config-kernel.in +++ b/config/Config-kernel.in @@ -788,9 +788,10 @@ if KERNEL_IPV6 def_bool n config KERNEL_IPV6_SEG6_LWTUNNEL - def_bool y if !SMALL_FLASH + bool "Enable support for lightweight tunnels" + default y if !SMALL_FLASH help - Using lwtunnel requires full-ip package. + Using lwtunnel (needed for IPv6 segment routing) requires ip-full package. config KERNEL_LWTUNNEL_BPF def_bool n