linux-stable/drivers/virtio
Michael S. Tsirkin 80e9541f79 virtio: make del_vqs idempotent
Our code calls del_vqs multiple times, assuming
it's idempotent.

commit 3ec7a77bb3
    virtio_pci: free up vq->priv
broke this assumption, by adding kfree there,
so multiple calls cause double free.

Fix it up.

Fixes: 3ec7a77bb3
Reported-by: Sasha Levin <sasha.levin@oracle.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2015-01-06 16:35:35 +02:00
..
config.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
Kconfig mm/balloon_compaction: add vmstat counters and kpageflags bit 2014-10-09 22:26:01 -04:00
Makefile virtio_pci: rename virtio_pci -> virtio_pci_common 2014-12-09 21:42:05 +02:00
virtio.c virtio: set VIRTIO_CONFIG_S_FEATURES_OK on restore 2014-12-11 20:04:38 +02:00
virtio_balloon.c virtio_balloon: drop legacy_only driver flag 2014-12-09 21:41:59 +02:00
virtio_mmio.c Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
virtio_pci_common.c virtio: make del_vqs idempotent 2015-01-06 16:35:35 +02:00
virtio_pci_common.h virtio_pci: move probe to common file 2014-12-14 15:10:30 +02:00
virtio_pci_legacy.c virtio_pci: move probe to common file 2014-12-14 15:10:30 +02:00
virtio_ring.c virtio: make VIRTIO_F_VERSION_1 a transport bit 2014-12-09 12:06:32 +02:00