[sr-dev] git:master: modules/ims_charging: restored an unlock that will cause deadlock if omitted

Jason Penton jason.penton at gmail.com
Thu Oct 10 16:06:04 CEST 2013


Module: sip-router
Branch: master
Commit: 217e5089df327215dd5078a72dd5b14526640191
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=217e5089df327215dd5078a72dd5b14526640191

Author: Jason Penton <jason.penton at smilecoms.com>
Committer: Jason Penton <jason.penton at smilecoms.com>
Date:   Thu Oct 10 16:04:49 2013 +0200

modules/ims_charging: restored an unlock that will cause deadlock if omitted

---

 modules/ims_charging/dialog.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/ims_charging/dialog.c b/modules/ims_charging/dialog.c
index c592bda..caac6c7 100644
--- a/modules/ims_charging/dialog.c
+++ b/modules/ims_charging/dialog.c
@@ -80,7 +80,7 @@ void dlg_reply(struct dlg_cell *dlg, int type, struct dlg_cb_params *_params) {
 //		ro_session_unlock(ro_session_table, ro_session_entry);
 
 		cdpb.AAAStartChargingCCAccSession(cdp_session);
-//		cdpb.AAASessionsUnlock(cdp_session->hash);		
+		cdpb.AAASessionsUnlock(cdp_session->hash);		
 		
 //		unref_ro_session(session, 1);	DONT need this anymore because we don't do lookup so no addition to ref counter
 	}




More information about the sr-dev mailing list