George Joseph
d83d8a89fb
channel.c: Don't lock the channel in ast_softhangup while setting rtp instance vars
...
ast_softhangup() was locking the channel before calling ast_rtp_instance_set_stats_vars()
which, if the channel was in a bridge, then locked the bridge peer channel. If another
thread attempted to set bridge variables on the peer, it would lock that channel first,
then this channel causing a lock inversion. ast_softhangup() now holds the channel lock
while retrieving the rtp instance, then unlocks it before calling
ast_rtp_instance_set_stats_vars(), then locks it again after it returns.
Resolves : #1907
2026-06-04 13:55:16 +00:00
..
2023-01-13 08:32:33 -06:00
2025-10-30 16:09:10 +00:00
2021-11-16 05:59:44 -06:00
2024-11-14 20:02:03 +00:00
2021-12-02 10:26:08 -06:00
2017-12-22 09:23:22 -05:00
2025-01-23 18:42:28 +00:00
2021-12-02 15:02:09 -06:00
2021-11-16 05:59:44 -06:00
2024-11-14 20:02:03 +00:00
2025-09-17 11:40:15 -06:00
2017-12-22 09:23:22 -05:00
2023-09-14 17:58:24 +00:00
2024-02-28 18:39:03 +00:00
2025-01-23 18:42:28 +00:00
2021-12-02 15:02:09 -06:00
2025-05-01 12:44:58 +00:00
2021-12-02 15:02:09 -06:00
2026-06-04 13:55:15 +00:00
2021-12-02 15:02:09 -06:00
2021-12-02 15:02:09 -06:00
2021-12-02 15:02:09 -06:00
2021-12-02 15:02:09 -06:00
2021-11-18 09:20:52 -06:00
2023-01-13 08:32:33 -06:00
2021-12-02 15:02:09 -06:00
2021-12-02 15:02:09 -06:00
2018-01-31 13:13:27 -06:00
2025-03-20 18:34:08 +00:00
2021-12-02 15:02:09 -06:00
2021-12-03 10:38:39 -06:00
2024-04-22 12:02:44 +00:00
2021-12-02 10:26:08 -06:00
2026-01-15 16:59:16 +00:00
2025-09-17 11:40:38 -06:00
2026-03-26 19:31:57 +00:00
2025-09-17 11:40:14 -06:00
2026-06-04 13:55:16 +00:00
2025-01-23 18:42:28 +00:00
2018-03-01 13:13:55 -06:00
2021-12-02 15:02:09 -06:00
2022-11-08 09:15:55 -06:00
2026-06-04 13:55:16 +00:00
2025-10-30 16:09:10 +00:00
2025-09-17 11:40:37 -06:00
2021-12-13 08:57:26 -06:00
2021-12-13 08:57:26 -06:00
2021-12-02 15:02:09 -06:00
2023-01-31 11:23:11 -06:00
2021-12-02 15:02:09 -06:00
2021-12-02 10:37:38 -06:00
2021-12-02 15:02:09 -06:00
2021-12-02 15:02:09 -06:00
2021-11-18 08:17:56 -06:00
2021-12-02 15:02:09 -06:00
2020-03-13 09:58:59 -05:00
2021-12-02 15:02:09 -06:00
2021-12-02 15:02:09 -06:00
2020-03-13 09:58:59 -05:00
2021-12-02 15:02:09 -06:00
2021-12-02 15:02:09 -06:00
2023-05-03 09:37:57 -06:00
2026-03-26 19:31:57 +00:00
2023-04-10 14:38:51 -05:00
2018-04-20 12:50:03 +02:00
2026-03-26 19:31:56 +00:00
2021-11-18 08:17:56 -06:00
2024-08-12 15:21:35 +00:00
2021-12-02 15:02:09 -06:00
2023-01-10 14:07:44 -06:00
2023-01-13 08:32:33 -06:00
2024-06-05 18:09:58 +00:00
2021-12-02 15:02:09 -06:00
2021-12-02 15:02:09 -06:00
2021-01-04 05:00:58 -06:00
2021-12-02 15:02:09 -06:00
2026-01-15 16:59:16 +00:00
2021-11-18 16:13:18 -06:00
2021-12-02 15:02:09 -06:00
2021-12-02 15:02:09 -06:00
2017-12-22 09:23:22 -05:00
2021-12-02 15:02:09 -06:00
2021-12-02 15:02:09 -06:00
2026-01-15 16:59:17 +00:00
2025-05-01 12:44:58 +00:00
2021-12-13 08:57:26 -06:00
2017-12-22 09:23:22 -05:00
2021-12-02 15:02:09 -06:00
2024-04-29 13:24:07 +00:00
2025-05-01 12:44:58 +00:00
2021-11-18 08:17:56 -06:00
2025-09-17 11:40:14 -06:00
2021-12-02 15:02:09 -06:00
2025-10-30 16:09:10 +00:00
2026-03-26 19:31:57 +00:00
2021-12-02 15:02:09 -06:00
2025-05-01 12:44:58 +00:00
2019-01-28 12:26:58 -07:00
2021-12-02 15:02:09 -06:00
2019-11-18 08:30:45 -06:00
2021-11-16 05:59:44 -06:00
2024-04-30 14:14:17 +00:00
2021-12-02 15:02:09 -06:00
2021-12-02 15:02:09 -06:00
2021-12-02 15:02:09 -06:00
2017-11-10 13:32:06 -05:00
2025-09-17 11:40:37 -06:00
2022-12-08 08:07:12 -06:00
2020-12-09 11:17:27 -06:00
2026-03-26 19:31:57 +00:00
2021-12-03 10:38:39 -06:00
2021-12-02 15:02:09 -06:00
2021-11-16 05:59:44 -06:00
2017-12-22 09:23:22 -05:00
2021-11-16 05:59:44 -06:00
2017-12-22 09:23:22 -05:00
2025-10-30 16:09:10 +00:00
2023-01-31 11:23:11 -06:00
2023-01-31 11:23:11 -06:00
2025-10-30 16:09:11 +00:00
2026-03-26 19:31:57 +00:00
2019-12-13 14:24:10 -06:00
2026-01-15 16:59:17 +00:00
2022-12-09 08:59:04 -06:00
2021-12-03 10:38:39 -06:00
2021-11-19 02:50:36 -06:00
2023-12-20 14:02:33 +00:00
2021-12-03 10:38:39 -06:00
2021-11-18 12:14:54 -06:00
2023-05-18 11:41:38 -06:00
2026-01-15 16:59:17 +00:00
2021-11-18 12:14:54 -06:00
2026-06-04 13:55:15 +00:00
2026-06-04 13:55:16 +00:00
2021-12-03 10:38:39 -06:00
2025-03-20 18:34:07 +00:00
2026-06-04 13:55:16 +00:00
2021-11-16 05:59:44 -06:00
2022-01-21 10:06:57 -06:00
2021-12-02 15:02:09 -06:00
2017-12-04 17:21:27 -06:00
2021-12-02 15:02:09 -06:00
2017-12-22 09:23:22 -05:00
2021-12-02 15:02:09 -06:00
2025-10-30 16:09:10 +00:00
2025-10-30 16:09:10 +00:00
2022-01-19 09:44:24 -06:00
2019-11-18 08:30:45 -06:00
2021-12-02 15:02:09 -06:00
2017-12-22 09:23:22 -05:00
2021-12-02 15:02:09 -06:00
2025-09-17 11:40:38 -06:00
2019-01-28 12:26:58 -07:00
2022-04-26 14:26:48 -05:00
2021-11-18 08:17:56 -06:00
2026-06-04 13:55:16 +00:00
2021-12-13 08:57:26 -06:00
2021-12-02 10:37:38 -06:00
2021-12-02 10:37:38 -06:00
2021-11-18 14:46:42 -06:00
2021-11-18 14:46:42 -06:00
2021-11-18 14:46:42 -06:00
2025-09-17 11:40:38 -06:00
2025-03-20 18:34:08 +00:00
2021-12-13 08:57:26 -06:00
2025-10-30 16:09:11 +00:00
2021-12-13 08:57:26 -06:00
2025-10-30 16:09:11 +00:00
2025-10-30 16:09:11 +00:00
2019-06-28 11:41:15 -05:00
2021-11-18 14:46:42 -06:00
2021-11-18 14:46:42 -06:00
2025-10-30 16:09:11 +00:00
2021-12-03 10:38:39 -06:00
2021-12-02 15:02:09 -06:00
2022-05-09 08:21:45 -05:00
2025-01-23 18:42:28 +00:00
2021-11-18 08:17:56 -06:00
2021-11-18 08:17:56 -06:00
2026-01-15 16:59:16 +00:00
2026-01-15 16:59:16 +00:00
2025-05-01 12:44:58 +00:00
2021-12-02 15:02:09 -06:00
2021-12-02 10:26:08 -06:00
2025-01-23 18:42:28 +00:00
2026-01-15 16:59:16 +00:00
2021-12-02 15:02:09 -06:00
2023-01-31 11:23:11 -06:00
2021-12-02 15:02:09 -06:00
2021-12-02 10:26:08 -06:00
2021-12-02 15:02:09 -06:00
2021-12-02 15:02:09 -06:00
2021-12-02 15:02:09 -06:00
2023-03-01 09:50:02 -06:00
2026-03-26 19:31:57 +00:00
2018-06-23 08:26:19 +02:00
2025-09-17 11:40:15 -06:00
2025-09-17 11:40:38 -06:00
2023-01-31 11:23:11 -06:00
2026-03-26 19:31:57 +00:00