transport: Check if transport is bcast before it's cast to bap_transport
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest1 patch 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/1 | transport: Check if transport is bcast before it's cast to bap_transportprofiles/ | +11 | 2 replies |
Reviews trailers per patch
The patch has no Reviewed-by or Acked-by.
| Patch | Ronan Pigott |
|---|---|
| 1/1 | T-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/1] transport: Check if transport is bcast before it's cast to bap_transport
Currently, when a transport is released it is cast to bap_transport without checking if the transport is actually a broadcast one. Then, based on this cast it is released. Problems may occur with transports that are not broadcast, but are still cast to bap_transport. This commit fixes this problem.
Vlad Pruteanu (1):
transport: Check if transport is bcast before it's cast to
bap_transport
profiles/audio/transport.c | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-)
Signature · 1 line
2.39.2