acrn-kernel/drivers/misc/vmw_vmci
Vishnu Dasa c8e9b30cca VMCI: Release notification_bitmap in error path
notification_bitmap may not be released when VMCI_CAPS_DMA_DATAGRAM
capability is missing from the device.  Add missing
'err_free_notification_bitmap' label and use it instead of
'err_free_data_buffers' to avoid this.

Fixes: eed2298d93 ("VMCI: dma dg: detect DMA datagram capability")
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Bryan Tan <bryantan@vmware.com>
Reviewed-by: Rajesh Jalisatgi <rjalisatgi@vmware.com>
Signed-off-by: Vishnu Dasa <vdasa@vmware.com>
Link: https://lore.kernel.org/r/20220318060040.31621-1-vdasa@vmware.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-03-18 13:47:48 +01:00
..
Kconfig
Makefile
vmci_context.c
vmci_context.h
vmci_datagram.c
vmci_datagram.h
vmci_doorbell.c
vmci_doorbell.h
vmci_driver.c
vmci_driver.h
vmci_event.c
vmci_event.h
vmci_guest.c VMCI: Release notification_bitmap in error path 2022-03-18 13:47:48 +01:00
vmci_handle_array.c
vmci_handle_array.h
vmci_host.c
vmci_queue_pair.c
vmci_queue_pair.h
vmci_resource.c
vmci_resource.h
vmci_route.c
vmci_route.h