From ef27f153302b9f8296f5a8c71d08ae7392e721de Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Wed, 10 Jan 2018 15:38:42 +0100 Subject: kernel: allow disabling multicast routing support Multicast routing support is not needed in most setups, and increases the size of the kernel considerably (>10K after LZMA). Add a config switch to allow disabling it. Signed-off-by: Matthias Schiffer --- config/Config-kernel.in | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) (limited to 'config/Config-kernel.in') diff --git a/config/Config-kernel.in b/config/Config-kernel.in index 678323efa1..fa06b50442 100644 --- a/config/Config-kernel.in +++ b/config/Config-kernel.in @@ -607,6 +607,17 @@ config KERNEL_SECCOMP help Build kernel with support for seccomp. +# +# IPv4 configuration +# + +config KERNEL_IP_MROUTE + bool "Enable IPv4 multicast routing" + default y + help + Multicast routing requires a multicast routing daemon in + addition to kernel support. + # # IPv6 configuration # @@ -623,7 +634,11 @@ if KERNEL_IPV6 def_bool y config KERNEL_IPV6_MROUTE - def_bool y + bool "Enable IPv6 multicast routing" + default y + help + Multicast routing requires a multicast routing daemon in + addition to kernel support. config KERNEL_IPV6_PIMSM_V2 def_bool n -- cgit v1.2.3