Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[lte][agw] Backport v1 3 c575e3d1 #4313

Merged
merged 2 commits into from
Jan 9, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fix bug that leads to failed sanity tests
Signed-off-by: Ulas Kozat <kozat@fb.com>
  • Loading branch information
ulaskozat committed Jan 9, 2021
commit 8b3115d8fe9153fedb0294c51e5190fd485d308b
5 changes: 3 additions & 2 deletions lte/gateway/c/oai/tasks/mme_app/mme_app_bearer.c
Original file line number Diff line number Diff line change
Expand Up @@ -962,8 +962,9 @@ void mme_app_handle_delete_session_rsp(
if (hash_rc == HASH_TABLE_OK) {
ue_context_p->mme_teid_s11 = 0;
}
ue_context_p->nb_active_pdn_contexts -= 1;

if (ue_context_p->nb_active_pdn_contexts > 0) {
ue_context_p->nb_active_pdn_contexts -= 1;
}
/* In case of Ue initiated explicit IMSI Detach or Combined EPS/IMSI detach
Do not send UE Context Release Command to eNB before receiving SGs IMSI
Detach Ack from MSC/VLR */
Expand Down