Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
authorDavid S. Miller <davem@davemloft.net>
Sat, 16 Jun 2012 08:23:04 +0000 (01:23 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 16 Jun 2012 08:23:04 +0000 (01:23 -0700)
Conflicts:
net/ipv6/route.c

Pull in 'net' again to get the revert of Thomas's change
which introduced regressions.

Signed-off-by: David S. Miller <davem@davemloft.net>
1  2 
include/net/ip6_fib.h
net/ipv6/ip6_fib.c
net/ipv6/route.c

Simple merge
Simple merge
index 1c279fe2c9b41f7ecd65fa55aa541d9e92a5f6d7,999a982ad3fd7d7abac40211b50320fc4c038109..e649cd78c15f83a6c05e52dee40df63d12ee868e
@@@ -2974,18 -3018,10 +2974,14 @@@ int __init ip6_route_init(void
        if (ret)
                goto out_kmem_cache;
  
-       ret = fib6_init();
-       if (ret)
-               goto out_dst_entries;
 -      ret = register_pernet_subsys(&ip6_route_net_ops);
 +      ret = register_pernet_subsys(&ipv6_inetpeer_ops);
        if (ret)
-               goto out_fib6_init;
+               goto out_dst_entries;
  
 +      ret = register_pernet_subsys(&ip6_route_net_ops);
 +      if (ret)
 +              goto out_register_inetpeer;
 +
        ip6_dst_blackhole_ops.kmem_cachep = ip6_dst_ops_template.kmem_cachep;
  
        /* Registering of the loopback is done before this portion of code,
@@@ -3028,14 -3064,10 +3024,12 @@@ fib6_rules_init
        fib6_rules_cleanup();
  xfrm6_init:
        xfrm6_fini();
- out_fib6_init_late:
-       fib6_cleanup_late();
+ out_fib6_init:
+       fib6_gc_cleanup();
  out_register_subsys:
        unregister_pernet_subsys(&ip6_route_net_ops);
- out_fib6_init:
-       fib6_gc_cleanup();
 +out_register_inetpeer:
 +      unregister_pernet_subsys(&ipv6_inetpeer_ops);
  out_dst_entries:
        dst_entries_destroy(&ip6_dst_blackhole_ops);
  out_kmem_cache: