zephyr/subsys/bluetooth
Herman Berget e65fdd4c5e Bluetooth: Host: Clean up buffer user data in case of error
`bt_l2cap_chan_send_cb()` overwrote the buffer user data for internal
use. In the case where sending fails, this would be visible for the
caller. If the caller relied on the buffer user data to be unchanged,
this could cause unexpected behavior.

L2CAP tx metadata was also not freed in the error case.

Signed-off-by: Herman Berget <herman.berget@nordicsemi.no>
2022-09-01 14:58:08 +00:00
..
audio Bluetooth: audio: mcc: add NULL check for mcs instance 2022-08-30 10:25:36 +02:00
common Bluetooth: Define global Bluetooth address constants 2022-08-25 12:18:09 +02:00
controller Bluetooth: Controller: Fix prepare pipeline preempt timeout stop 2022-09-01 13:18:11 +02:00
host Bluetooth: Host: Clean up buffer user data in case of error 2022-09-01 14:58:08 +00:00
mesh Bluetooth: Mesh: Replace segack tx delay with Kconfig options 2022-09-01 10:27:27 +02:00
services Bluetooth: OTS - Client APIs add Object Write sub-procedure 2022-08-31 10:39:33 +02:00
shell Bluetooth: Audio: Update audio shell with location in cmd_init 2022-08-30 10:27:00 +02:00
CMakeLists.txt
Kconfig bluetooth: kconfig: Hide host options if not available 2022-06-17 10:49:51 -05:00
Kconfig.adv Bluetooth: Mark Extended Adv as stable 2022-08-16 18:10:59 +02:00
Kconfig.iso bluetooth: kconfig: Hide host options if not available 2022-06-17 10:49:51 -05:00