Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bluetooth: virtio_bt: fix memory leak in virtbt_rx_handle()
[ Upstream commit 1d06884 ] On the reception of packets with an invalid packet type, the memory of the allocated socket buffers is never freed. Add a default case that frees these to avoid a memory leak. Fixes: afd2daa ("Bluetooth: Add support for virtio transport driver") Signed-off-by: Soenke Huster <soenke.huster@eknoes.de> Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
- Loading branch information