Re: [PATCH v1] xen/pvcalls: free active map buffer on pvcalls_front_free_map

From: Juergen Gross
Date: Tue Jan 10 2023 - 03:09:14 EST


On 20.12.22 15:50, Oleksii Moisieiev wrote:
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@xxxxxxxx>

Pushed to xen/tip.git for-linus-6.2


Juergen

Attachment: OpenPGP_0xB0DE9DD628BF132F.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature
Description: OpenPGP digital signature