Skip to content

Commit

Permalink
[SMF] Allow Gy CCA event to contain NULL gtp_xact
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
pespin committed Mar 19, 2024
1 parent 1fd7a7d commit 7fe3e53
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/smf/gsm-sm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 0 additions & 1 deletion src/smf/gy-handler.c
Original file line number Diff line number Diff line change
Expand Up @@ -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]",
Expand Down

0 comments on commit 7fe3e53

Please sign in to comment.