forked from acouzens/open5gs
Follow-up on #2048
This commit is contained in:
parent
af07cc75ec
commit
b6aa3aba5b
|
@ -378,6 +378,8 @@ int amf_namf_comm_handle_n1_n2_message_transfer(
|
|||
}
|
||||
|
||||
if (CM_IDLE(amf_ue)) {
|
||||
if (n1buf)
|
||||
ogs_pkbuf_free(n1buf);
|
||||
if (n2buf)
|
||||
ogs_pkbuf_free(n2buf);
|
||||
|
||||
|
|
|
@ -445,8 +445,9 @@ bool smf_npcf_smpolicycontrol_handle_create(
|
|||
/* Check if selected UPF is associated with SMF */
|
||||
ogs_assert(sess->pfcp_node);
|
||||
if (!OGS_FSM_CHECK(&sess->pfcp_node->sm, smf_pfcp_state_associated)) {
|
||||
ogs_error("[%s] No associated UPF", smf_ue->supi);
|
||||
return false;
|
||||
strerror = ogs_msprintf("[%s:%d] No associated UPF",
|
||||
smf_ue->supi, sess->psi);
|
||||
goto cleanup;
|
||||
}
|
||||
|
||||
/* Remove all previous QoS flow */
|
||||
|
|
Loading…
Reference in New Issue