diff options
author | Eric Dumazet <[email protected]> | 2022-11-15 08:53:56 +0000 |
---|---|---|
committer | David S. Miller <[email protected]> | 2022-11-16 12:48:44 +0000 |
commit | cb34b7cf17ecf33499c9298943f85af247abc1e9 (patch) | |
tree | af00604bc36b109ae88bae9d753a530c529528f2 /tools/perf/scripts/python/libxed.py | |
parent | 6c1c5097781f563b70a81683ea6fdac21637573b (diff) |
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 <[email protected]>
Signed-off-by: Eric Dumazet <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions