Skip to content

Commit

Permalink
MME: Gn: Avoid overwriting subscriber data from HSS
Browse files Browse the repository at this point in the history
  • Loading branch information
pespin committed May 22, 2024
1 parent c6c73c1 commit b26e6b1
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/mme/mme-gn-handler.c
Original file line number Diff line number Diff line change
Expand Up @@ -238,11 +238,7 @@ static mme_sess_t *mme_ue_session_from_gtp1_pdp_ctx(mme_ue_t *mme_ue, const ogs_
}
ogs_sess->smf_ip = gtp1_pdp_ctx->ggsn_address_c;
ogs_sess->context_identifier = gtp1_pdp_ctx->pdp_ctx_id;
ogs_sess->session_type = gtp1_pdp_ctx->pdp_type_num[0];
ogs_sess->ue_ip = gtp1_pdp_ctx->pdp_address[0];
/* TODO: sess->paa with gtp1_pdp_ctx->pdp_address[0],
using/implementing ogs_gtp2_ip_to_paa ? */
ogs_ip_to_paa(&ogs_sess->ue_ip, &ogs_sess->paa);
ogs_ip_to_paa(&gtp1_pdp_ctx->pdp_address[0], &ogs_sess->paa);

/* 3GPP TS 23.060 section 9.2.1A: "The QoS profiles of the PDP context and EPS bearer are mapped as specified in TS 23.401"
* 3GPP TS 23.401 Annex E: "Mapping between EPS and Release 99 QoS parameters"
Expand Down

0 comments on commit b26e6b1

Please sign in to comment.