diff options
author | 2011-03-13 23:00:52 +0200 | |
---|---|---|
committer | 2011-03-13 23:08:19 +0200 | |
commit | de4d768a428d9de943dd6dc82bcd61742955cb6e (patch) | |
tree | 68b0d3c4b3ce4158664e65c2deb9bf59d3a5e028 /tools/perf/scripts/python | |
parent | vhost: lock receive queue, not the socket (diff) | |
download | linux-dev-de4d768a428d9de943dd6dc82bcd61742955cb6e.tar.xz linux-dev-de4d768a428d9de943dd6dc82bcd61742955cb6e.zip |
vhost-net: remove unlocked use of receive_queue
Use of skb_queue_empty(&sock->sk->sk_receive_queue)
without taking the sk_receive_queue.lock is unsafe
or useless. Take it out.
Reported-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions