[asterisk-dev] [Code Review] SIP Dialog ref counting in 1.6.0
Russell Bryant
russell at digium.com
Tue Jul 7 17:05:49 CDT 2009
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviewboard.digium.com/r/302/#review945
-----------------------------------------------------------
Ship it!
- Russell
On 2009-07-07 14:41:24, David Vossel wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://reviewboard.digium.com/r/302/
> -----------------------------------------------------------
>
> (Updated 2009-07-07 14:41:24)
>
>
> Review request for Asterisk Developers and Russell Bryant.
>
>
> Summary
> -------
>
> This patch adds reference counting for sip dialogs into 1.6.0.
>
> When proc_session_timer() is called from the scheduler thread it has no guarantee the session timer's dialog won't be freed from underneath it. Now the session timer holds a reference to the dialog, preventing it from being destroyed during the middle of proc_session_timer().
>
>
> This addresses bug 13623.
> https://issues.asterisk.org/view.php?id=13623
>
>
> Diffs
> -----
>
> /branches/1.6.0/channels/chan_sip.c 205047
> /branches/1.6.0/include/asterisk/sched.h 205047
>
> Diff: http://reviewboard.digium.com/r/302/diff
>
>
> Testing
> -------
>
> placed test calls, verified dialogs and session-timers get destroyed on hangup.
>
>
> Thanks,
>
> David
>
>
More information about the asterisk-dev
mailing list