diff options
author | Eric Dumazet <edumazet@google.com> | 2023-08-04 20:26:52 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-08-06 15:19:57 +0300 |
commit | 32d0a49d36a2a306c2e47fe5659361e424f0ed3f (patch) | |
tree | 384e9dedc57d8f3c340f0bbab21da061df721c19 /scripts/gdb/linux/utils.py | |
parent | 6b47808f223c70ff564f9b363446d2a5fa1e05b2 (diff) | |
download | linux-32d0a49d36a2a306c2e47fe5659361e424f0ed3f.tar.xz |
macsec: use DEV_STATS_INC()
syzbot/KCSAN reported data-races in macsec whenever dev->stats fields
are updated.
It appears all of these updates can happen from multiple cpus.
Adopt SMP safe DEV_STATS_INC() to update dev->stats fields.
Fixes: c09440f7dcb3 ("macsec: introduce IEEE 802.1AE driver")
Reported-by: syzbot <syzkaller@googlegroups.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Sabrina Dubroca <sd@queasysnail.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions