aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRui Salvaterra <rsalvaterra@gmail.com>2021-01-14 15:24:58 +0000
committerPaul Spooren <mail@aparcar.org>2021-01-14 22:38:39 -1000
commit412dc26c99beeeeace3e56321fc392e590f4144d (patch)
tree6828153965927dd6b3d536e2bbfa659d8a97b5ae
parentc40006e0af4bd58670cc8c413065830365039fe0 (diff)
downloadupstream-412dc26c99beeeeace3e56321fc392e590f4144d.tar.gz
upstream-412dc26c99beeeeace3e56321fc392e590f4144d.tar.bz2
upstream-412dc26c99beeeeace3e56321fc392e590f4144d.zip
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 <rsalvaterra@gmail.com>
-rw-r--r--config/Config-kernel.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/config/Config-kernel.in b/config/Config-kernel.in
index d99ce44c0d..8a78e297cb 100644
--- a/config/Config-kernel.in
+++ b/config/Config-kernel.in
@@ -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