From: David Hildenbrand Date: Fri, 16 Jan 2015 11:58:09 +0000 (+0100) Subject: KVM: s390: avoid memory leaks if __inject_vm() fails X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~97^2~36^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=428d53be5e7468769d4e7899cca06ed5f783a6e1;p=pandora-kernel.git KVM: s390: avoid memory leaks if __inject_vm() fails We have to delete the allocated interrupt info if __inject_vm() fails. Otherwise user space can keep flooding kvm with floating interrupts and provoke more and more memory leaks. Reported-by: Dominik Dingel Reviewed-by: Dominik Dingel Signed-off-by: David Hildenbrand Cc: stable@vger.kernel.org # v3.15+ Signed-off-by: Christian Borntraeger --- Reading git-diff-tree failed