ipv6: fix the use of pcpu_tstats in sit
authorLi RongQing <roy.qing.li@gmail.com>
Thu, 2 Jan 2014 00:49:36 +0000 (08:49 +0800)
committerDanny Wood <danwood76@gmail.com>
Thu, 15 Jul 2021 09:45:32 +0000 (10:45 +0100)
commit7c2667c774d6ebb91928da2fbdae366efed439a0
treee86a92b2da9fefb5a953374f5017e0a5fb3555b8
parenta492b8d7a0c3e0ef0d9ce74d23c36d345a0a12ed
ipv6: fix the use of pcpu_tstats in sit

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

Signed-off-by: Li RongQing <roy.qing.li@gmail.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Change-Id: Ie289d00d1761200ae14336c38324c2b8ba179ec7
net/ipv6/sit.c