From 09fc2d25e4fd7bf55e2c055d3664890dbc27a4f0 Mon Sep 17 00:00:00 2001 From: jaybeepee Date: Mon, 12 Sep 2016 16:42:39 +0200 Subject: [PATCH] modules/ims_regstrar_scscf: remove process id check that could fail on messages processed into shm --- modules/ims_registrar_scscf/pvt_message.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/modules/ims_registrar_scscf/pvt_message.c b/modules/ims_registrar_scscf/pvt_message.c index 3b8274efd84..22d54aa4aaa 100644 --- a/modules/ims_registrar_scscf/pvt_message.c +++ b/modules/ims_registrar_scscf/pvt_message.c @@ -84,9 +84,7 @@ struct sip_msg* get_request_from_tx(struct cell *t) { (which we cannot assume) then we would pollute the shm_msg t->uas.request if we did any parsing on it. Instead, we need to make a private copy of the message and free it when we are done */ - if ((_pv_treq.T != t || t->uas.request != _pv_treq.tmsgp) - && t->uas.request->id != _pv_treq.id) { - + if ((_pv_treq.T != t || t->uas.request != _pv_treq.tmsgp)) { /* make a copy */ if (_pv_treq.buf == NULL || _pv_treq.buf_size < t->uas.request->len + 1) { if (_pv_treq.buf != NULL)