]> git.ipfire.org Git - thirdparty/linux.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)
commit2024305863d626bd44664c284fd609b6a56bb9ed
tree961563fa2222cd852303abc9eb321a95fed5d774
parentfc11078dd3514c65eabce166b8431a56d8a667cb
parent7c422d0ce97552dde4a97e6290de70ec6efb0fc6
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>