commit | 3f926af3f4d688e2e11e7f8ed04e277a14d4d4a4 | [log] [tgz] |
---|---|---|
author | Eric Dumazet <edumazet@google.com> | Wed Oct 23 22:44:51 2019 -0700 |
committer | David S. Miller <davem@davemloft.net> | Mon Oct 28 13:33:41 2019 -0700 |
tree | 3cdc7bbab6fc9caa1282afe98eddd91add1aabd7 | |
parent | 3ef7cf57c72f32f61e97f8fa401bc39ea1f1a5d4 [diff] |
net: use skb_queue_empty_lockless() in busy poll contexts Busy polling usually runs without locks. Let's use skb_queue_empty_lockless() instead of skb_queue_empty() Also uses READ_ONCE() in __skb_try_recv_datagram() to address a similar potential problem. Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>