forked from acouzens/open5gs
[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:
parent
32a275b9a8
commit
ea122da9fc
|
@ -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;
|
||||
|
|
|
@ -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]",
|
||||
|
|
Loading…
Reference in New Issue