diff options
author | Vishnu Dasa <[email protected]> | 2022-03-17 23:00:40 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2022-03-18 13:47:48 +0100 |
commit | c8e9b30ccae605bf1dbeaf03971f9b83f70b928d (patch) | |
tree | 9feb4b08d33d4fb5b13e0d1ba9e8cd1f59ffbc00 /net/lapb/lapb_in.c | |
parent | 5df0e734b8c39598effe0f17e5bd8ff7748a0693 (diff) |
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: eed2298d9360 ("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]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions