git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b3384f
)
vhost-net: avoid flush under lock
author
Michael S. Tsirkin
<mst@redhat.com>
Thu, 15 Jul 2010 12:19:12 +0000
(15:19 +0300)
committer
Michael S. Tsirkin
<mst@redhat.com>
Thu, 15 Jul 2010 12:26:12 +0000
(15:26 +0300)
We flush under vq mutex when changing backends.
This creates a deadlock as workqueue being flushed
needs this lock as well.
https://bugzilla.redhat.com/show_bug.cgi?id=612421
Drop the vq mutex before flush: we have the device mutex
which is sufficient to prevent another ioctl from touching
the vq.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
No differences found