]> git.baikalelectronics.ru Git - kernel.git/commit
vhost: fix zcopy reference counting
authorMichael S. Tsirkin <mst@redhat.com>
Tue, 19 Jul 2011 10:19:18 +0000 (13:19 +0300)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 19 Jul 2011 10:28:34 +0000 (13:28 +0300)
commita884e2c05b42ff4e50be03778c11ac95c4be3942
treed1a54e4bfb7a3d000c2a70465e54dc155bb6b475
parent7cf748b63afbd9e8493c63c2605dd0b5860d5cdb
vhost: fix zcopy reference counting

Fix get/put refcount imbalance with zero copy,
which caused qemu to hang forever on guest driver unload.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/vhost/vhost.c