diff options
Diffstat (limited to 'net/ipv6/af_inet6.c')
-rw-r--r-- | net/ipv6/af_inet6.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/net/ipv6/af_inet6.c b/net/ipv6/af_inet6.c index 90d2f723fc46..614f3d905dd1 100644 --- a/net/ipv6/af_inet6.c +++ b/net/ipv6/af_inet6.c | |||
@@ -851,7 +851,9 @@ static int __init inet6_init(void) | |||
851 | err = ip6_route_init(); | 851 | err = ip6_route_init(); |
852 | if (err) | 852 | if (err) |
853 | goto ip6_route_fail; | 853 | goto ip6_route_fail; |
854 | ip6_flowlabel_init(); | 854 | err = ip6_flowlabel_init(); |
855 | if (err) | ||
856 | goto ip6_flowlabel_fail; | ||
855 | err = addrconf_init(); | 857 | err = addrconf_init(); |
856 | if (err) | 858 | if (err) |
857 | goto addrconf_fail; | 859 | goto addrconf_fail; |
@@ -874,6 +876,7 @@ out: | |||
874 | 876 | ||
875 | addrconf_fail: | 877 | addrconf_fail: |
876 | ip6_flowlabel_cleanup(); | 878 | ip6_flowlabel_cleanup(); |
879 | ip6_flowlabel_fail: | ||
877 | ip6_route_cleanup(); | 880 | ip6_route_cleanup(); |
878 | ip6_route_fail: | 881 | ip6_route_fail: |
879 | #ifdef CONFIG_PROC_FS | 882 | #ifdef CONFIG_PROC_FS |