]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip_refer: Always serialize calls to refer_progress_notify
authorGeorge Joseph <gjoseph@digium.com>
Tue, 9 Feb 2021 17:25:27 +0000 (10:25 -0700)
committerGeorge Joseph <gjoseph@digium.com>
Fri, 19 Feb 2021 13:35:57 +0000 (07:35 -0600)
commitdbd8908f8d13e6f6c62738ccb9ff6aee0f2d0c30
treea181be6a1e97e7746e90ccc5d2f71dde8688583d
parentfad0cf12e6af0b5f193d825f8498159669473292
res_pjsip_refer: Always serialize calls to refer_progress_notify

refer_progress_notify wasn't always being called from the progress
serializer.  This could allow clearing notification->progress->sub
in one thread while another was trying to use it.

* Instances where refer_progress_notify was being called in-line,
  have been changed to use ast_sip_push_task().

Change-Id: Idcf1934c4e873f2c82e2d106f8d9f040caf9fa1e
res/res_pjsip_refer.c