]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
virtio: fix memory leak on device removal
authorMichael S. Tsirkin <mst@redhat.com>
Thu, 23 Jul 2009 11:57:37 +0000 (14:57 +0300)
committerRusty Russell <rusty@rustcorp.com.au>
Thu, 30 Jul 2009 06:33:44 +0000 (16:03 +0930)
commitff52c3fc7188855ede75d87b022271f0da309e5b
treee10333755598cfbee6676f75dd87168ecdf2d5ce
parent8ef562d112c82ec539775698f8b63ac5ec1bd766
virtio: fix memory leak on device removal

Make vp_free_vectors do the reverse of vq_request_vectors.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
drivers/virtio/virtio_pci.c