commit | 783e3988544b94ff3918666b9f36866ac547fba1 | [log] [tgz] |
---|---|---|
author | Jason Wang <jasowang@redhat.com> | Mon Jan 17 16:11:17 2011 +0800 |
committer | Michael S. Tsirkin <mst@redhat.com> | Sun Mar 13 23:08:04 2011 +0200 |
tree | e05c17f7e368490e3d34750cc2f6b8e2092ef1e5 | |
parent | 94249369e9930276e30087da205349a55478cbb5 [diff] |
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>