]> 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)
committerFriendly Automation <jenkins2@gerrit.asterisk.org>
Wed, 17 Feb 2021 17:05:05 +0000 (11:05 -0600)
commit15b408067996955bc575ee2aa281aeb540c2f0e4
treeeb551f4edfeaed10a4e986ec614193104ad648a6
parent00b229c69cd65cbf0620a7f82c4e55125cdc2263
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