Files
George Joseph 3e52d75281 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-05-06 12:29:42 +00:00
..
2025-02-20 21:46:35 +00:00
2025-02-20 21:46:35 +00:00
2025-02-20 21:46:35 +00:00
2025-02-20 21:46:35 +00:00
2023-12-08 13:11:54 +00:00
2025-02-20 21:46:35 +00:00
2023-12-08 13:11:54 +00:00
2025-02-20 21:46:35 +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-12-02 15:02:09 -06:00
2025-01-16 15:32:54 +00:00
2025-08-06 15:37:52 +00:00
2026-03-02 16:43:30 +00:00
2021-12-02 15:02:09 -06:00
2022-07-07 08:19:14 -05:00
2025-02-20 21:46:35 +00:00
2020-06-10 09:33:28 -05:00
2021-12-02 15:02:09 -06:00
2016-10-27 09:53:55 -04:00
2025-02-20 21:46:35 +00:00
2024-08-12 15:21:35 +00:00
2021-12-02 15:02:09 -06:00
2021-11-15 17:33:27 -06:00
2026-03-05 12:52:43 +00:00
2021-12-02 15:02:09 -06:00
2025-04-02 12:16:41 +00:00
2025-01-29 14:18:25 +00:00
2025-01-29 14:18:25 +00:00
2025-01-29 14:18:25 +00:00
2025-01-29 14:18:25 +00:00
2026-03-17 18:17:34 +00:00
2025-04-21 13:29:33 +00:00
2021-12-02 15:02:09 -06:00
2025-02-20 21:46:35 +00:00
2021-12-02 15:02:09 -06:00
2025-01-29 14:18:25 +00:00
2021-12-02 15:02:09 -06:00
2021-12-02 15:02:09 -06:00
2025-02-20 21:46:35 +00:00
2025-01-29 14:18:25 +00:00
2025-01-29 14:18:25 +00:00
2021-12-02 15:02:09 -06:00
2021-11-15 17:33:27 -06:00
2021-12-02 15:02:09 -06:00
2021-11-18 14:46:42 -06:00
2025-01-29 14:18:25 +00:00
2025-01-29 14:18:25 +00:00
2025-06-02 16:35:34 +00:00
2025-02-20 21:46:35 +00:00
2021-12-02 15:02:09 -06:00
2022-03-24 12:00:58 -05:00
2025-02-20 21:46:35 +00:00
2021-12-02 15:02:09 -06:00