summaryrefslogtreecommitdiffstats
path: root/config/Config-kernel.in
diff options
context:
space:
mode:
authorMatthew Hagan <mnhagan88@gmail.com>2022-01-03 23:00:18 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2022-01-08 00:48:39 +0100
commit033b6cef94a4aae6244f75f34bc2879869335002 (patch)
treeac6aa31a77a23f739d74aa04f8bdb5432564b52e /config/Config-kernel.in
parent536f051b971c8b3aada21c35ca7deefb94e7dd74 (diff)
downloadopenwrt-033b6cef94a4aae6244f75f34bc2879869335002.tar.gz
openwrt-033b6cef94a4aae6244f75f34bc2879869335002.tar.bz2
openwrt-033b6cef94a4aae6244f75f34bc2879869335002.zip
kernel: enhance multicast routing support
Certain utilities, such as smcroute [1], require additional multicast routing options to be enabled, otherwise they will not function correctly. Enable these relevant dependancies when IPv4 and/or IPv6 multicast routing are enabled. [1] https://github.com/troglobit/smcroute/blob/master/README.md#linux-requirements This increases the uncompressed kernel size on MIPS 24kc by 8KBytes and the compressed kernel size by 1.8KBytes. Signed-off-by: Matthew Hagan <mnhagan88@gmail.com>
Diffstat (limited to 'config/Config-kernel.in')
-rw-r--r--config/Config-kernel.in24
1 files changed, 22 insertions, 2 deletions
diff --git a/config/Config-kernel.in b/config/Config-kernel.in
index 07d65bc465..98dab9b6fd 100644
--- a/config/Config-kernel.in
+++ b/config/Config-kernel.in
@@ -986,6 +986,19 @@ config KERNEL_IP_MROUTE
Multicast routing requires a multicast routing daemon in
addition to kernel support.
+if KERNEL_IP_MROUTE
+
+ config KERNEL_IP_MROUTE_MULTIPLE_TABLES
+ def_bool y
+
+ config KERNEL_IP_PIMSM_V1
+ def_bool y
+
+ config KERNEL_IP_PIMSM_V2
+ def_bool y
+
+endif
+
#
# IPv6 configuration
#
@@ -1008,8 +1021,15 @@ if KERNEL_IPV6
Multicast routing requires a multicast routing daemon in
addition to kernel support.
- config KERNEL_IPV6_PIMSM_V2
- def_bool n
+ if KERNEL_IPV6_MROUTE
+
+ config KERNEL_IPV6_MROUTE_MULTIPLE_TABLES
+ def_bool y
+
+ config KERNEL_IPV6_PIMSM_V2
+ def_bool y
+
+ endif
config KERNEL_IPV6_SEG6_LWTUNNEL
bool "Enable support for lightweight tunnels"