summaryrefslogtreecommitdiffstats
path: root/drivers/vhost/Makefile
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2013-04-28 16:12:08 +0200
committerMichael S. Tsirkin <mst@redhat.com>2013-05-01 09:02:54 +0200
commit150b9e51ae975ca1fe468c565870fbc4a96e0574 (patch)
treec708d0c69807c7ac4eb14e86498536c5ec1c6c82 /drivers/vhost/Makefile
parenttcm_vhost: remove virtio-net.h dependency (diff)
downloadlinux-150b9e51ae975ca1fe468c565870fbc4a96e0574.tar.xz
linux-150b9e51ae975ca1fe468c565870fbc4a96e0574.zip
vhost: fix error handling in RESET_OWNER ioctl
RESET_OWNER ioctl would leave the fd in a bad state if memory allocation failed: device is stopped but owner is not reset. Make state changes after allocating memory, such that a failed ioctl has no effect. Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'drivers/vhost/Makefile')
0 files changed, 0 insertions, 0 deletions