]> git.baikalelectronics.ru Git - kernel.git/commit
ipv6: fix the use of pcpu_tstats in ip6_tunnel
authorLi RongQing <roy.qing.li@gmail.com>
Thu, 2 Jan 2014 05:20:12 +0000 (13:20 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 3 Jan 2014 00:37:21 +0000 (19:37 -0500)
commit97dc371a18dcbe3208a16e663e3d0de4daaab57a
tree58ff3dd11e53ec545df209e5b386dcdd094228bc
parent515c926c1ca844a73e2c22012e103fe12b44e043
ipv6: fix the use of pcpu_tstats in ip6_tunnel

when read/write the 64bit data, the correct lock should be hold.

Fixes: 7345758b34f64 ("tunnel: implement 64 bits statistics")
Cc: Stephen Hemminger <stephen@networkplumber.org>
Cc: Eric Dumazet <edumazet@google.com>
Signed-off-by: Li RongQing <roy.qing.li@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ip6_tunnel.c