Eric Dumazet 3285ee3bb2 ip_gre: fix fallback tunnel setup
Before making the fallback tunnel visible to lookups, we should make
sure it is completely setup, once ipgre_tunnel_init() had been called
and tstats per_cpu pointer allocated.

move rcu_assign_pointer(ign->tunnels_wc[0], tunnel); from
ipgre_fb_tunnel_init() to ipgre_init_net()

Based on a patch from Pavel Emelyanov

Reported-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Acked-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-10-30 16:21:28 -07:00
..
2010-09-23 14:33:39 -07:00
2010-02-22 16:20:22 -08:00
2010-10-25 13:09:45 -07:00
2010-08-19 00:08:30 -07:00
2010-10-19 03:50:48 -07:00
2010-09-23 14:33:39 -07:00
2010-10-27 11:37:33 -07:00
2010-09-23 14:33:39 -07:00
2010-10-30 16:21:28 -07:00
2010-06-28 23:24:29 -07:00
2010-02-22 16:20:22 -08:00
2010-10-03 21:50:53 -07:00
2010-06-30 13:31:19 -07:00
2010-08-19 00:08:30 -07:00
2010-06-26 22:00:03 -07:00
2009-03-02 03:00:15 -08:00
2009-03-02 03:00:15 -08:00
2010-09-23 14:33:39 -07:00
2010-09-23 14:33:39 -07:00
2009-05-25 22:44:59 -07:00
2010-09-23 14:33:39 -07:00
2010-10-27 11:37:32 -07:00
2010-10-25 14:18:28 -07:00
2010-07-12 12:57:54 -07:00
2010-07-12 12:57:54 -07:00