summaryrefslogtreecommitdiff
path: root/include/net/aligned_data.h
diff options
context:
space:
mode:
authorQiang Ma <maqianga@uniontech.com>2026-01-17 10:57:02 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-01-23 11:21:32 +0100
commit5defcc2f9c22e6e09b5be68234ad10f4ba0292b7 (patch)
treee1f13b34eaf68316459a9cee479d58bf99ded3af /include/net/aligned_data.h
parente94ec9661c5820d157d2cc4b6cf4a6ab656a7b4d (diff)
LoongArch: KVM: Fix kvm_device leak in kvm_ipi_destroy()
commit 0bf58cb7288a4d3de6d8ecbb3a65928a9362bf21 upstream. In kvm_ioctl_create_device(), kvm_device has allocated memory, kvm_device->destroy() seems to be supposed to free its kvm_device struct, but kvm_ipi_destroy() is not currently doing this, that would lead to a memory leak. So, fix it. Cc: stable@vger.kernel.org Reviewed-by: Bibo Mao <maobibo@loongson.cn> Signed-off-by: Qiang Ma <maqianga@uniontech.com> Signed-off-by: Huacai Chen <chenhuacai@loongson.cn> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/net/aligned_data.h')
0 files changed, 0 insertions, 0 deletions