]> 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)
commitd9e7e4779bfc1331a87387fb41e4fac2840554a0
tree961563fa2222cd852303abc9eb321a95fed5d774
parentaac33667969167fd9b9d6b1919b8c2a89e9b6925
parent434c8830f031d25a6581a5950faaeeb8c13ddeaa
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>