Home
last modified time | relevance | path

Searched hist:"80 e9541f7987f60471268b751aaa9b6800513fe9" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/virtio/
H A Dvirtio_pci_common.cdiff 80e9541f7987f60471268b751aaa9b6800513fe9 Sun Jan 04 09:21:58 CST 2015 Michael S. Tsirkin <mst@redhat.com> virtio: make del_vqs idempotent

Our code calls del_vqs multiple times, assuming
it's idempotent.

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

Fix it up.

Fixes: 3ec7a77bb3089bb01032fdbd958eb5c29da58b49
Reported-by: Sasha Levin <sasha.levin@oracle.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>