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/.
Harald Welte gerrit-no-reply at lists.osmocom.orgHarald Welte has submitted this change and it was merged. Change subject: create_context_ind(): ignore any non-started APNs ...................................................................... create_context_ind(): ignore any non-started APNs If we receive a GTP-C CREATE PDP CONTEXT for an APN that we were unable (or not configured) to start, ignore that APN. Change-Id: I8011a9ccc1d5effd3779f184c9055af46838ccaf --- M ggsn/ggsn.c 1 file changed, 3 insertions(+), 0 deletions(-) Approvals: Harald Welte: Looks good to me, approved Jenkins Builder: Verified diff --git a/ggsn/ggsn.c b/ggsn/ggsn.c index c1f0c1a..dd71957 100644 --- a/ggsn/ggsn.c +++ b/ggsn/ggsn.c @@ -447,6 +447,9 @@ /* First find an exact APN name match */ apn = ggsn_find_apn(ggsn, name_buf); + /* ignore if the APN has not been started */ + if (!apn->started) + apn = NULL; /* then try default (if any) */ if (!apn) apn = ggsn->cfg.default_apn; -- To view, visit https://gerrit.osmocom.org/4118 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: I8011a9ccc1d5effd3779f184c9055af46838ccaf Gerrit-PatchSet: 1 Gerrit-Project: osmo-ggsn Gerrit-Branch: master Gerrit-Owner: Harald Welte <laforge at gnumonks.org> Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org> Gerrit-Reviewer: Jenkins Builder