diff options
Diffstat (limited to 'net/ipv6/af_inet6.c')
-rw-r--r-- | net/ipv6/af_inet6.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/net/ipv6/af_inet6.c b/net/ipv6/af_inet6.c index 57ee5ddea96f..fc9c8a99bea6 100644 --- a/net/ipv6/af_inet6.c +++ b/net/ipv6/af_inet6.c | |||
@@ -59,6 +59,9 @@ | |||
59 | #ifdef CONFIG_IPV6_TUNNEL | 59 | #ifdef CONFIG_IPV6_TUNNEL |
60 | #include <net/ip6_tunnel.h> | 60 | #include <net/ip6_tunnel.h> |
61 | #endif | 61 | #endif |
62 | #ifdef CONFIG_IPV6_MIP6 | ||
63 | #include <net/mip6.h> | ||
64 | #endif | ||
62 | 65 | ||
63 | #include <asm/uaccess.h> | 66 | #include <asm/uaccess.h> |
64 | #include <asm/system.h> | 67 | #include <asm/system.h> |
@@ -857,6 +860,9 @@ static int __init inet6_init(void) | |||
857 | ipv6_frag_init(); | 860 | ipv6_frag_init(); |
858 | ipv6_nodata_init(); | 861 | ipv6_nodata_init(); |
859 | ipv6_destopt_init(); | 862 | ipv6_destopt_init(); |
863 | #ifdef CONFIG_IPV6_MIP6 | ||
864 | mip6_init(); | ||
865 | #endif | ||
860 | 866 | ||
861 | /* Init v6 transport protocols. */ | 867 | /* Init v6 transport protocols. */ |
862 | udpv6_init(); | 868 | udpv6_init(); |
@@ -920,6 +926,9 @@ static void __exit inet6_exit(void) | |||
920 | tcp6_proc_exit(); | 926 | tcp6_proc_exit(); |
921 | raw6_proc_exit(); | 927 | raw6_proc_exit(); |
922 | #endif | 928 | #endif |
929 | #ifdef CONFIG_IPV6_MIP6 | ||
930 | mip6_fini(); | ||
931 | #endif | ||
923 | /* Cleanup code parts. */ | 932 | /* Cleanup code parts. */ |
924 | sit_cleanup(); | 933 | sit_cleanup(); |
925 | ip6_flowlabel_cleanup(); | 934 | ip6_flowlabel_cleanup(); |