]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - drivers/lguest/lguest_device.c
virtio: fix module/device unloading
[mirror_ubuntu-zesty-kernel.git] / drivers / lguest / lguest_device.c
index 66f38722253adedf3b45c8caa65f3d25742c3f34..e2eec38c83c2ef21248353d132e3308810e1e17d 100644 (file)
@@ -247,6 +247,8 @@ static void lg_del_vq(struct virtqueue *vq)
 {
        struct lguest_vq_info *lvq = vq->priv;
 
+       /* Release the interrupt */
+       free_irq(lvq->config.irq, vq);
        /* Tell virtio_ring.c to free the virtqueue. */
        vring_del_virtqueue(vq);
        /* Unmap the pages containing the ring. */