aboutsummaryrefslogtreecommitdiffstats
path: root/net/rds
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2010-07-15 15:19:12 +0300
committerMichael S. Tsirkin <mst@redhat.com>2010-07-15 15:26:12 +0300
commit1680e9063ea28099a1efa8ca11cee069cc7a9bc3 (patch)
tree92fda29b75a081151d6e460f7ae8ec874517b6e5 /net/rds
parent7b3384fc30633738ae4eaf8e1bc6ce70470ced80 (diff)
downloadkernel_samsung_smdk4412-1680e9063ea28099a1efa8ca11cee069cc7a9bc3.zip
kernel_samsung_smdk4412-1680e9063ea28099a1efa8ca11cee069cc7a9bc3.tar.gz
kernel_samsung_smdk4412-1680e9063ea28099a1efa8ca11cee069cc7a9bc3.tar.bz2
vhost-net: avoid flush under lock
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>
Diffstat (limited to 'net/rds')
0 files changed, 0 insertions, 0 deletions