kernel: make lwtunnel support optional
authorRui Salvaterra <rsalvaterra@gmail.com>
Thu, 14 Jan 2021 15:24:58 +0000 (15:24 +0000)
committerPaul Spooren <mail@aparcar.org>
Fri, 15 Jan 2021 08:38:39 +0000 (22:38 -1000)
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 <rsalvaterra@gmail.com>
config/Config-kernel.in

index d99ce44c0dd6cfa28ea9fc39155e22d3b4f24dd8..8a78e297cbef0ecb442befc44c0eaa8fc8a53922 100644 (file)
@@ -975,9 +975,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