]> git.baikalelectronics.ru Git - kernel.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)
commit0db462ab752130d9b3bc2d3e7dcee313a611ff08
treee10333755598cfbee6676f75dd87168ecdf2d5ce
parentbb9e0a1ee16eb6450ec169d0671c9ffb5baa16ae
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