diff options
author | Jason Wang <jasowang@redhat.com> | 2011-01-17 09:11:17 +0100 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2011-03-13 22:08:04 +0100 |
commit | 783e3988544b94ff3918666b9f36866ac547fba1 (patch) | |
tree | e05c17f7e368490e3d34750cc2f6b8e2092ef1e5 /drivers/pcmcia/au1000_pb1x00.c | |
parent | vhost-net: Unify the code of mergeable and big buffer handling (diff) | |
download | linux-783e3988544b94ff3918666b9f36866ac547fba1.tar.xz linux-783e3988544b94ff3918666b9f36866ac547fba1.zip |
vhost: lock receive queue, not the socket
vhost takes a sock lock to try and prevent
the skb from being pulled from the receive queue
after skb_peek. However this is not the right lock to use for that,
sk_receive_queue.lock is. Fix that up.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'drivers/pcmcia/au1000_pb1x00.c')
0 files changed, 0 insertions, 0 deletions