summaryrefslogtreecommitdiff
path: root/net/ipv6/ip6mr.c
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2022-11-15 11:53:56 +0300
committerDavid S. Miller <davem@davemloft.net>2022-11-16 15:48:44 +0300
commitcb34b7cf17ecf33499c9298943f85af247abc1e9 (patch)
treeaf00604bc36b109ae88bae9d753a530c529528f2 /net/ipv6/ip6mr.c
parent6c1c5097781f563b70a81683ea6fdac21637573b (diff)
downloadlinux-cb34b7cf17ecf33499c9298943f85af247abc1e9.tar.xz
ipv6/sit: use DEV_STATS_INC() to avoid data-races
syzbot/KCSAN reported that multiple cpus are updating dev->stats.tx_error concurrently. This is because sit tunnels are NETIF_F_LLTX, meaning their ndo_start_xmit() is not protected by a spinlock. While original KCSAN report was about tx path, rx path has the same issue. Reported-by: syzbot <syzkaller@googlegroups.com> Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/ip6mr.c')
0 files changed, 0 insertions, 0 deletions