zephyr/subsys/bluetooth/host
Joakim Andersson c4c0e64331 Bluetooth: host: Fix infinite recursion in persistent advertising
Fix a crash in the persistent advertising handling.
This occurs because the callstack of the RX thread overflowed
due to an infinite recursion between bt_conn_unref and
bt_le_adv_resume.
This happens when starting a new advertiser is denied by the
controller, then the conn object reserved will be released again
and the host will attempt to resume advertising in the bt_conn_unerf
at the end of bt_le_adv_resume.
This situation can happen if the host supports more connections
than the controller.

Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
2020-07-20 15:58:36 +02:00
..
a2dp_internal.h
a2dp.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
aes_ccm.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
at.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
at.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
att_internal.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
att.c Bluetooth: ATT: Fix using of k_fifo_{put,get} 2020-06-18 21:35:12 +02:00
avdtp_internal.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
avdtp.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
CMakeLists.txt Bluetooth: smp: Warn on enabling several Bluetooth options 2020-06-17 17:14:33 +03:00
conn_internal.h Bluetooth: Fix host RX thread deadlock 2020-07-06 11:15:39 +02:00
conn.c Bluetooth: host: Fix resume advertiser race condition 2020-07-06 11:15:39 +02:00
crypto.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
crypto.h
ecc.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
gatt_internal.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
gatt.c Bluetooth: Gatt: Automatic discover of CCC when subscribing 2020-07-20 12:46:18 +02:00
hci_core.c Bluetooth: host: Fix infinite recursion in persistent advertising 2020-07-20 15:58:36 +02:00
hci_core.h Bluetooth: host: Add phy update procedure options 2020-06-19 13:42:29 +02:00
hci_ecc.c Bluetooth: hci_ecc: Follow BT spec when public key is invalid 2020-07-20 12:48:23 +02:00
hci_ecc.h
hci_raw_internal.h
hci_raw.c Bluetooth: Fix host RX thread deadlock 2020-07-06 11:15:39 +02:00
hfp_hf.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
hfp_internal.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
Kconfig Bluetooth: Fix host RX thread deadlock 2020-07-06 11:15:39 +02:00
Kconfig.gatt Bluetooth: Gatt: Automatic discover of CCC when subscribing 2020-07-20 12:46:18 +02:00
Kconfig.l2cap Bluetooth: ATT: Add support EATT bearer 2020-05-02 15:59:14 +03:00
keys_br.c Bluetooth: br/edr: store link key 2020-07-02 16:32:41 +03:00
keys.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
keys.h Bluetooth: br/edr: store link key 2020-07-02 16:32:41 +03:00
l2cap_br.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
l2cap_internal.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
l2cap.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
monitor.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
monitor.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
rfcomm_internal.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
rfcomm.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
sdp_internal.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
sdp.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
settings.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
settings.h Bluetooth: Setting: Make bt_settings_encode_key take a const address 2020-02-14 14:15:11 +02:00
smp_null.c Bluetooth: L2CAP: Add destroy callback to fixed L2CAP channels 2020-01-28 17:55:38 +02:00
smp.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
smp.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
testing.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
testing.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
uuid.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00