ipv6: fix the use of pcpu_tstats in ip6_tunnel
authorLi RongQing <[email protected]>
Thu, 2 Jan 2014 05:20:12 +0000 (13:20 +0800)
committerDavid S. Miller <[email protected]>
Fri, 3 Jan 2014 00:37:21 +0000 (19:37 -0500)
commitabb6013cca147ad940b0e9fee260d2d9e93b7018
tree58ff3dd11e53ec545df209e5b386dcdd094228bc
parentfad8da3e085ddf5e661090033287f1a5d62858fc
ipv6: fix the use of pcpu_tstats in ip6_tunnel

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

Fixes: 87b6d218f3adb ("tunnel: implement 64 bits statistics")
Cc: Stephen Hemminger <[email protected]>
Cc: Eric Dumazet <[email protected]>
Signed-off-by: Li RongQing <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
net/ipv6/ip6_tunnel.c