This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
pravin gerrit-no-reply at lists.osmocom.orgHello Harald Welte, Jenkins Builder, I'd like you to reexamine a change. Please visit https://gerrit.osmocom.org/1263 to look at the new patch set (#2). Trigger Deactivate PDP context Request from SGSN VTY In SGSN for acl based authorization IMSI values of all registered MS are maintained. Through imsi_acl_del Deactivate PDP context Request from network can be triggered. Hence, It will remove all PDP context related to that MS. Change-Id: Ide0cd4af828b753d24d2e507967d1c2e652ee05e --- M openbsc/src/gprs/gprs_gmm.c M openbsc/src/gprs/sgsn_vty.c 2 files changed, 6 insertions(+), 2 deletions(-) git pull ssh://gerrit.osmocom.org:29418/openbsc refs/changes/63/1263/2 diff --git a/openbsc/src/gprs/gprs_gmm.c b/openbsc/src/gprs/gprs_gmm.c index 363b457..77f94f8 100644 --- a/openbsc/src/gprs/gprs_gmm.c +++ b/openbsc/src/gprs/gprs_gmm.c @@ -2535,6 +2535,8 @@ break; case GSM48_MT_GSM_DEACT_PDP_ACK: rc = gsm48_rx_gsm_deact_pdp_ack(mmctx, msg); + if (sgsn_auth_state(mmctx) != SGSN_AUTH_ACCEPTED) + gsm0408_gprs_access_cancelled(mmctx, GMM_CAUSE_GPRS_NOTALLOWED); break; case GSM48_MT_GSM_STATUS: rc = gsm48_rx_gsm_status(mmctx, msg); diff --git a/openbsc/src/gprs/sgsn_vty.c b/openbsc/src/gprs/sgsn_vty.c index 1b477e5..e58d9bc 100644 --- a/openbsc/src/gprs/sgsn_vty.c +++ b/openbsc/src/gprs/sgsn_vty.c @@ -573,9 +573,11 @@ if (!strcmp(op, "add")) rc = sgsn_acl_add(imsi, g_cfg); - else + else { + vty_out(vty, "%% Network initiated PDP deactivate%s", VTY_NEWLINE); + drop_gmm_ctx_for_ms(imsi); rc = sgsn_acl_del(imsi, g_cfg); - + } if (rc < 0) { vty_out(vty, "%% unable to %s ACL%s", op, VTY_NEWLINE); -- To view, visit https://gerrit.osmocom.org/1263 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newpatchset Gerrit-Change-Id: Ide0cd4af828b753d24d2e507967d1c2e652ee05e Gerrit-PatchSet: 2 Gerrit-Project: openbsc Gerrit-Branch: master Gerrit-Owner: pravin <pravin.manoharan at radisys.com> Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org> Gerrit-Reviewer: Jenkins Builder