Skip to content

transport: Check if transport is bcast before it's cast to bap_transport

Vlad Pruteanu linux-bluetooth 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1transport: Check if transport is bcast before it's cast to bap_transportprofiles/audio/transport.c+11 -42 replies

Reviews trailers per patch

The patch has no Reviewed-by or Acked-by.

PatchRonan Pigott
1/1T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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