Skip to content
Commit ca5ebbfe authored by David S. Miller's avatar David S. Miller
Browse files

Merge branch 'net-atomic-dev-stats'



Eric Dumazet says:

====================
net: add atomic dev->stats infra

Long standing KCSAN issues are caused by data-race around
some dev->stats changes.

Most performance critical paths already use per-cpu
variables, or per-queue ones.

It is reasonable (and more correct) to use atomic operations
for the slow paths.

First patch adds the infrastructure, then three patches address
the most common paths that syzbot is playing with.
====================

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parents 68d268d0 c4794d22
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment