forked from acouzens/open5gs
[pfcp] response_timeout should not call ogs_pfcp_xact_delete (#2072)
* [pfcp] response_timeout should never call ogs_pfcp_xact_delete (#50) * also remove ogs_pfcp_xact_delete since never called * also had to catch one more ogs_pfcp_sendto() --------- Co-authored-by: Spencer Sevilla <spencer@MacBook-Air.local>
This commit is contained in:
parent
512cc2d01b
commit
d30fcbb848
|
@ -563,8 +563,6 @@ int ogs_pfcp_xact_commit(ogs_pfcp_xact_t *xact)
|
|||
|
||||
if (ogs_pfcp_sendto(xact->node, pkbuf) != OGS_OK) {
|
||||
ogs_error("ogs_pfcp_sendto() failed");
|
||||
ogs_pfcp_xact_delete(xact);
|
||||
return OGS_ERROR;
|
||||
}
|
||||
|
||||
return OGS_OK;
|
||||
|
@ -607,7 +605,6 @@ static void response_timeout(void *data)
|
|||
|
||||
if (ogs_pfcp_sendto(xact->node, pkbuf) != OGS_OK) {
|
||||
ogs_error("ogs_pfcp_sendto() failed");
|
||||
goto out;
|
||||
}
|
||||
} else {
|
||||
ogs_warn("[%d] %s No Reponse. Give up! "
|
||||
|
@ -625,9 +622,6 @@ static void response_timeout(void *data)
|
|||
}
|
||||
|
||||
return;
|
||||
|
||||
out:
|
||||
ogs_pfcp_xact_delete(xact);
|
||||
}
|
||||
|
||||
static void holding_timeout(void *data)
|
||||
|
|
Loading…
Reference in New Issue