Files
i2som-imx-linux/include/linux
Eric Dumazet d5ac4232c3 net: add skb_queue_empty_lockless()
[ Upstream commit d7d16a8935 ]

Some paths call skb_queue_empty() without holding
the queue lock. We must use a barrier in order
to not let the compiler do strange things, and avoid
KCSAN splats.

Adding a barrier in skb_queue_empty() might be overkill,
I prefer adding a new helper to clearly identify
points where the callers might be lockless. This might
help us finding real bugs.

The corresponding WRITE_ONCE() should add zero cost
for current compilers.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-11-10 11:27:46 +01:00
..
2019-10-05 13:10:03 +02:00
2019-07-03 13:14:48 +02:00
2019-08-09 17:52:28 +02:00
2019-05-31 06:46:18 -07:00
2019-10-17 13:45:42 -07:00
2019-06-11 12:20:52 +02:00
2019-11-10 11:27:46 +01:00
2019-06-17 19:51:56 +02:00