diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2010-10-30 16:21:28 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-10-30 16:21:28 -0700 |
commit | 3285ee3bb2e158299ff19b947e41da735980d954 (patch) | |
tree | 8235c80ec137fd080e23bdeab8eefa0d9d5c395f /drivers | |
parent | 1b803fbfcd1c35857fe52844158213507a8a5bfa (diff) |
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>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions