From: Michael S. Tsirkin Date: Sun, 4 Jan 2015 15:21:58 +0000 (+0200) Subject: virtio: make del_vqs idempotent X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~318^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=80e9541f7987f60471268b751aaa9b6800513fe9;p=pandora-kernel.git 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 Signed-off-by: Michael S. Tsirkin --- Reading git-diff-tree failed