[SMF] Allow Gy CCA event to contain NULL gtp_xact

This happens for instance when the session is terminated due to a
rejection coming from the OCS, hence no originating GTP xact producing
the tear down.
This commit is contained in:
Pau Espin 2024-03-19 17:11:21 +01:00 committed by Sukchan Lee
parent 32a275b9a8
commit ea122da9fc
2 changed files with 0 additions and 2 deletions

View File

@ -1486,7 +1486,6 @@ void smf_gsm_state_wait_epc_auth_release(ogs_fsm_t *s, smf_event_t *e)
case OGS_DIAM_GY_CMD_CODE_CREDIT_CONTROL:
switch(gy_message->cc_request_type) {
case OGS_DIAM_GY_CC_REQUEST_TYPE_TERMINATION_REQUEST:
ogs_assert(e->gtp_xact);
diam_err = smf_gy_handle_cca_termination_request(sess,
gy_message, e->gtp_xact);
sess->sm_data.gy_ccr_term_in_flight = false;

View File

@ -241,7 +241,6 @@ uint32_t smf_gy_handle_cca_termination_request(
{
ogs_assert(sess);
ogs_assert(gy_message);
ogs_assert(gtp_xact);
ogs_debug("[SMF] Delete Session Response");
ogs_debug(" SGW_S5C_TEID[0x%x] SMF_N4_TEID[0x%x]",