kernel_optimize_test/arch/s390/kvm
Thomas Huth 91880d07fc KVM: s390: Fix possible memory leak in SIGP functions
When kvm_get_vcpu() returned NULL for the destination CPU in
__sigp_emergency() or __sigp_external_call(), the memory for the
"inti" structure was not released anymore. This patch fixes this
issue by moving the check for !dst_vcpu before the kzalloc() call.

Signed-off-by: Thomas Huth <thuth@linux.vnet.ibm.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
2014-03-25 13:27:11 +01:00
..
diag.c KVM: async_pf: Async page fault support on s390 2014-01-30 13:11:02 +01:00
gaccess.h KVM: s390: Helper for converting real addresses to absolute 2013-09-24 19:12:20 +02:00
intercept.c KVM: s390: enable Transactional Execution 2014-01-17 13:12:01 +01:00
interrupt.c KVM: s390: Removing untriggerable BUG_ONs 2014-03-17 11:06:45 +01:00
Kconfig KVM: async_pf: Async page fault support on s390 2014-01-30 13:11:02 +01:00
kvm-s390.c KVM: s390: randomize sca address 2014-03-25 13:27:10 +01:00
kvm-s390.h KVM: async_pf: Async page fault support on s390 2014-01-30 13:11:02 +01:00
Makefile KVM: async_pf: Async page fault support on s390 2014-01-30 13:11:02 +01:00
priv.c KVM: s390: Simplify online vcpus counting for stsi 2014-03-04 10:41:02 +01:00
sigp.c KVM: s390: Fix possible memory leak in SIGP functions 2014-03-25 13:27:11 +01:00
trace-s390.h KVM: s390: Add support for channel I/O instructions. 2013-01-07 19:53:43 -02:00
trace.h KVM: async_pf: Async page fault support on s390 2014-01-30 13:11:02 +01:00