diff options
author | Oleksii Moisieiev <Oleksii_Moisieiev@epam.com> | 2022-12-20 15:50:13 +0100 |
---|---|---|
committer | Juergen Gross <jgross@suse.com> | 2023-01-09 08:05:20 +0100 |
commit | f57034cedeb6e00256313a2a6ee67f974d709b0b (patch) | |
tree | 4b7dc9fc0bd45b48484e7cbdda01e6e8609a5b9b /drivers/char | |
parent | hvc/xen: lock console list traversal (diff) | |
download | linux-f57034cedeb6e00256313a2a6ee67f974d709b0b.tar.xz linux-f57034cedeb6e00256313a2a6ee67f974d709b0b.zip |
xen/pvcalls: free active map buffer on pvcalls_front_free_map
Data buffer for active map is allocated in alloc_active_ring and freed
in free_active_ring function, which is used only for the error
cleanup. pvcalls_front_release is calling pvcalls_front_free_map which
ends foreign access for this buffer, but doesn't free allocated pages.
Call free_active_ring to clean all allocated resources.
Signed-off-by: Oleksii Moisieiev <oleksii_moisieiev@epam.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
Link: https://lore.kernel.org/r/6a762ee32dd655cbb09a4aa0e2307e8919761311.1671531297.git.oleksii_moisieiev@epam.com
Signed-off-by: Juergen Gross <jgross@suse.com>
Diffstat (limited to 'drivers/char')
0 files changed, 0 insertions, 0 deletions