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

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: default avatarDavid S. Miller <davem@davemloft.net>
parents fc11078d 7c422d0c
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