Skip to content

Bluetooth: Host: ISO buffer not unreffed #77006

Closed
@theob-pro

Description

@theob-pro

** Describe the bug **

When sending data using ISO and the data is fragmented, if the connection is cut before all the fragments are sent, the data buffer will not get destroyed and will be leaked.

** To reproduce **

Create an ISO broadcaster that will sent fragmented SDU. Terminate the ISO BIS after the first fragment is sent. Repeat that until you run out of buffers.

The following BabbleSim test reproduce the issue: theob-pro@e2d8225

** Expected behavior **

The data buffers should not leak when the ISO connection is lost.

Metadata

Metadata

Assignees

Labels

area: Bluetooth HostBluetooth Host (excluding BR/EDR)bugThe issue is a bug, or the PR is fixing a bugpriority: lowLow impact/importance bug

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions