aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorLi RongQing <[email protected]>2020-02-23 08:13:12 +0000
committerPaolo Bonzini <[email protected]>2020-02-23 08:34:26 +0000
commitdd58f3c95c98e6e2cf30d9e562cae0503c5f2713 (patch)
treec85d23c8c6359ffc9615347224118fafa8e04aba /net/unix/af_unix.c
parentKVM: SVM: Fix potential memory leak in svm_cpu_init() (diff)
downloadkernel-dd58f3c95c98e6e2cf30d9e562cae0503c5f2713.tar.gz
kernel-dd58f3c95c98e6e2cf30d9e562cae0503c5f2713.zip
KVM: fix error handling in svm_hardware_setup
rename svm_hardware_unsetup as svm_hardware_teardown, move it before svm_hardware_setup, and call it to free all memory if fail to setup in svm_hardware_setup, otherwise memory will be leaked remove __exit attribute for it since it is called in __init function Signed-off-by: Li RongQing <[email protected]> Reviewed-by: Vitaly Kuznetsov <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions