Merge branch 'net-atomic-dev-stats'
authorDavid S. Miller <davem@davemloft.net>
Wed, 16 Nov 2022 12:48:44 +0000 (12:48 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Nov 2022 12:48:44 +0000 (12:48 +0000)
commitca5ebbfec31487a208d9e0b13a99dbb738a3281b
tree698b6c7d56109d7a1b2b09f5d4041f7c0237ba21
parent68d268d089314b7c9c9754388a9a301175287b1a
parentc4794d22251b979b12a6c8e2d3848b662a44fdb6
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: David S. Miller <davem@davemloft.net>