diff options
| author | yunshui <[email protected]> | 2024-05-23 03:35:20 +0000 |
|---|---|---|
| committer | Daniel Borkmann <[email protected]> | 2024-05-28 10:04:11 +0000 |
| commit | d9cbd8343b010016fcaabc361c37720dcafddcbe (patch) | |
| tree | bca0593a4757df7d7d20410e46e08b3855d39faa /net/ipv4/tcp_output.c | |
| parent | bpf, docs: Fix instruction.rst indentation (diff) | |
| download | kernel-d9cbd8343b010016fcaabc361c37720dcafddcbe.tar.gz kernel-d9cbd8343b010016fcaabc361c37720dcafddcbe.zip | |
bpf, net: Use DEV_STAT_INC()
syzbot/KCSAN reported that races happen when multiple CPUs updating
dev->stats.tx_error concurrently. Adopt SMP safe DEV_STATS_INC() to
update the dev->stats fields.
Reported-by: syzbot <[email protected]>
Signed-off-by: yunshui <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'net/ipv4/tcp_output.c')
0 files changed, 0 insertions, 0 deletions
