mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-01 11:32:25 +00:00
Remove a leftover unlock and lock of the iax2 pvt struct lock that was left
over from my attempt at putting pvt structs in a hash table. It can cause seg faults, and has no reason to stay. (issue #9642, pointed out by stevedavies) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@67070 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -6747,8 +6747,6 @@ static int socket_process(struct iax2_thread *thread)
|
||||
f.subclass != IAX_COMMAND_TXCNT && /* for attended transfer */
|
||||
f.subclass != IAX_COMMAND_TXACC) { /* for attended transfer */
|
||||
iaxs[fr->callno]->peercallno = (unsigned short)(ntohs(mh->callno) & ~IAX_FLAG_FULL);
|
||||
ast_mutex_unlock(&iaxsl[fr->callno]);
|
||||
ast_mutex_lock(&iaxsl[fr->callno]);
|
||||
}
|
||||
if (ntohs(mh->callno) & IAX_FLAG_FULL) {
|
||||
if (option_debug && iaxdebug)
|
||||
|
||||
Reference in New Issue
Block a user