diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2010-03-17 16:06:11 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2010-03-17 23:07:35 +0200 |
commit | 535297a6ae4c3b7a0562e71fac15c213eeec68e7 (patch) | |
tree | 878526e743260b3666e36fb0655c0800a5d21afc /drivers/rtc/rtc-rx8581.c | |
parent | 0e255572121180c900e24e33b87047abd8153cce (diff) | |
download | op-kernel-dev-535297a6ae4c3b7a0562e71fac15c213eeec68e7.zip op-kernel-dev-535297a6ae4c3b7a0562e71fac15c213eeec68e7.tar.gz |
vhost: fix error handling in vring ioctls
Stanse found a locking problem in vhost_set_vring:
several returns from VHOST_SET_VRING_KICK, VHOST_SET_VRING_CALL,
VHOST_SET_VRING_ERR with the vq->mutex held.
Fix these up.
Reported-by: Jiri Slaby <jirislaby@gmail.com>
Acked-by: Laurent Chavey <chavey@google.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'drivers/rtc/rtc-rx8581.c')
0 files changed, 0 insertions, 0 deletions