aboutsummaryrefslogtreecommitdiff
path: root/drivers/ata/pata_marvell.c
diff options
context:
space:
mode:
authorEric Dumazet2023-08-04 17:26:52 +0000
committerGreg Kroah-Hartman2023-08-16 18:27:26 +0200
commitfc0b41ac11069c77723bffd4c9c5adb4dcee635f (patch)
treed8418b6b53250411e12845e748db2d1602e7feca /drivers/ata/pata_marvell.c
parentebceef298c56bb5c898ab497051e99671bc268d8 (diff)
macsec: use DEV_STATS_INC()
commit 32d0a49d36a2a306c2e47fe5659361e424f0ed3f upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/ata/pata_marvell.c')
0 files changed, 0 insertions, 0 deletions