[Asterisk-code-review] pjsip distributor.c: Fix deadlock with TCP type transports. (asterisk[13])

Alexei Gradinari asteriskteam at digium.com
Fri Jun 30 16:26:37 CDT 2017


Alexei Gradinari has posted comments on this change. ( https://gerrit.asterisk.org/5919 )

Change subject: pjsip_distributor.c: Fix deadlock with TCP type transports.
......................................................................


Patch Set 2:

(1 comment)

https://gerrit.asterisk.org/#/c/5919/2/res/res_pjsip/pjsip_distributor.c
File res/res_pjsip/pjsip_distributor.c:

https://gerrit.asterisk.org/#/c/5919/2/res/res_pjsip/pjsip_distributor.c@493
PS2, Line 493: 		dist = ao2_find(dialog_associations, dlg, OBJ_SEARCH_KEY);
             : 		if (dist) {
             : 			ao2_lock(dist);
             : 			serializer = ao2_bump(dist->serializer);
             : 			ao2_unlock(dist);
Maybe make a new function ast_sip_dialog_get_serializer?



-- 
To view, visit https://gerrit.asterisk.org/5919
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-MessageType: comment
Gerrit-Change-Id: I9ed63f4da9649e9db6ed4be29c360968917a89bd
Gerrit-Change-Number: 5919
Gerrit-PatchSet: 2
Gerrit-Owner: Richard Mudgett <rmudgett at digium.com>
Gerrit-Reviewer: Alexei Gradinari <alex2grad at gmail.com>
Gerrit-Reviewer: Jenkins2
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Richard Mudgett <rmudgett at digium.com>
Gerrit-Comment-Date: Fri, 30 Jun 2017 21:26:37 +0000
Gerrit-HasComments: Yes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20170630/b81f54f2/attachment.html>


More information about the asterisk-code-review mailing list