]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'net-avoid-KCSAN-splats'
authorDavid S. Miller <davem@davemloft.net>
Mon, 28 Oct 2019 20:33:41 +0000 (13:33 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Oct 2019 20:33:41 +0000 (13:33 -0700)
commitc44a368cd7c1e2d0e1916029f8e69cebd1ab7949
tree961563fa2222cd852303abc9eb321a95fed5d774
parent2a209f46d0b0a14421a9afa2275b036690c85c1f
parent3dd12e42b03a921b54e12ea47d89e8d4ba082658
Merge branch 'net-avoid-KCSAN-splats'

Eric Dumazet says:

====================
net: avoid KCSAN splats

Often times we use skb_queue_empty() without holding a lock,
meaning that other cpus (or interrupt) can change the queue
under us. This is fine, but we need to properly annotate
the lockless intent to make sure the compiler wont over
optimize things.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>