aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorSoenke Huster <[email protected]>2021-10-20 10:14:44 +0200
committerMarcel Holtmann <[email protected]>2021-10-20 14:58:46 +0200
commit1d0688421449718c6c5f46e458a378c9b530ba18 (patch)
tree535a02cb841e8433ff20f436797d05fdf73b48f3 /tools/perf/scripts/python/net_dropmonitor.py
parentb8f5482c9638915c19963f06d2f4094e276aaab6 (diff)
Bluetooth: virtio_bt: fix memory leak in virtbt_rx_handle()
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: afd2daa26c7a ("Bluetooth: Add support for virtio transport driver") Signed-off-by: Soenke Huster <[email protected]> Signed-off-by: Marcel Holtmann <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions