2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-23 04:34:11 +08:00
linux-next/drivers/vhost
Michael S. Tsirkin de4d768a42 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>
2011-03-13 23:08:19 +02:00
..
Kconfig net/macvtap: add vhost support 2010-02-18 14:08:38 -08:00
Makefile vhost_net: a kernel-level virtio server 2010-01-15 01:43:29 -08:00
net.c vhost-net: remove unlocked use of receive_queue 2011-03-13 23:08:19 +02:00
test.c vhost test module 2010-12-09 16:00:21 +02:00
test.h vhost test module 2010-12-09 16:00:21 +02:00
vhost.c vhost: copy_from_user -> __copy_from_user 2011-03-08 18:03:05 +02:00
vhost.h vhost: rcu annotation fixup 2011-02-01 16:48:46 +02:00