Skip to content

Commit

Permalink
kernel: enhance multicast routing support
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
clayface authored and hauke committed Jan 7, 2022
1 parent 536f051 commit 033b6ce
Showing 1 changed file with 22 additions and 2 deletions.
24 changes: 22 additions & 2 deletions config/Config-kernel.in
Expand Up @@ -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
#
Expand All @@ -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"
Expand Down

0 comments on commit 033b6ce

Please sign in to comment.