summaryrefslogtreecommitdiffstats
path: root/kernel/sysctl_check.c
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2010-10-30 16:21:28 -0700
committerDavid S. Miller <davem@davemloft.net>2010-10-30 16:21:28 -0700
commit3285ee3bb2e158299ff19b947e41da735980d954 (patch)
tree8235c80ec137fd080e23bdeab8eefa0d9d5c395f /kernel/sysctl_check.c
parent1b803fbfcd1c35857fe52844158213507a8a5bfa (diff)
downloadlinux-stable-3285ee3bb2e158299ff19b947e41da735980d954.tar.gz
linux-stable-3285ee3bb2e158299ff19b947e41da735980d954.tar.bz2
linux-stable-3285ee3bb2e158299ff19b947e41da735980d954.zip
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 'kernel/sysctl_check.c')
0 files changed, 0 insertions, 0 deletions