Files
linux/drivers
Eric Dumazet fc0b41ac11 macsec: use DEV_STATS_INC()
commit 32d0a49d36 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: c09440f7dc ("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>
2023-08-16 18:27:26 +02:00
..
2023-07-23 13:49:43 +02:00
2023-08-03 10:23:49 +02:00
2023-07-23 13:49:37 +02:00
2023-08-16 18:27:26 +02:00
2023-07-19 16:21:57 +02:00
2023-04-06 12:10:44 +02:00
2023-07-19 16:21:48 +02:00
2023-08-03 10:24:14 +02:00