diff options
Diffstat (limited to 'net/ipv6/af_inet6.c')
-rw-r--r-- | net/ipv6/af_inet6.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/net/ipv6/af_inet6.c b/net/ipv6/af_inet6.c index 1731b0abf7f5..3c6aafb02183 100644 --- a/net/ipv6/af_inet6.c +++ b/net/ipv6/af_inet6.c | |||
@@ -61,6 +61,9 @@ | |||
61 | 61 | ||
62 | #include <asm/uaccess.h> | 62 | #include <asm/uaccess.h> |
63 | #include <asm/system.h> | 63 | #include <asm/system.h> |
64 | #ifdef CONFIG_IPV6_MROUTE | ||
65 | #include <linux/mroute6.h> | ||
66 | #endif | ||
64 | 67 | ||
65 | MODULE_AUTHOR("Cast of dozens"); | 68 | MODULE_AUTHOR("Cast of dozens"); |
66 | MODULE_DESCRIPTION("IPv6 protocol stack for Linux"); | 69 | MODULE_DESCRIPTION("IPv6 protocol stack for Linux"); |
@@ -953,6 +956,9 @@ static int __init inet6_init(void) | |||
953 | err = icmpv6_init(); | 956 | err = icmpv6_init(); |
954 | if (err) | 957 | if (err) |
955 | goto icmp_fail; | 958 | goto icmp_fail; |
959 | #ifdef CONFIG_IPV6_MROUTE | ||
960 | ip6_mr_init(); | ||
961 | #endif | ||
956 | err = ndisc_init(); | 962 | err = ndisc_init(); |
957 | if (err) | 963 | if (err) |
958 | goto ndisc_fail; | 964 | goto ndisc_fail; |