mirror of
https://github.com/torvalds/linux.git
synced 2026-11-26 08:23:17 +00:00
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 <[email protected]>
Reviewed-by: Bryan Tan <[email protected]>
Reviewed-by: Rajesh Jalisatgi <[email protected]>
Signed-off-by: Vishnu Dasa <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>