pespin submitted this change.

View Change

Approvals: Jenkins Builder: Verified osmith: Looks good to me, approved
pdpctx: Use pdp->teic_own as rate_ctr id

Otherwise we run into errors due to non-unique ids.

Related: SYS#7125
Change-Id: I388d7e4550e874cabc51e016d1a35a1074be7ac3
(cherry picked from commit 968b60ef3afc2735b9493e8acbf16429869bd6b9)
---
M src/sgsn/pdpctx.c
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/sgsn/pdpctx.c b/src/sgsn/pdpctx.c
index fb30a3a..be11338 100644
--- a/src/sgsn/pdpctx.c
+++ b/src/sgsn/pdpctx.c
@@ -70,7 +70,7 @@
if (!pctx)
return NULL;

- pctx->ctrg = rate_ctr_group_alloc(pctx, &pdpctx_ctrg_desc, nsapi);
+ pctx->ctrg = rate_ctr_group_alloc(pctx, &pdpctx_ctrg_desc, pdp->teic_own);
if (!pctx->ctrg) {
LOGPDPCTXP(LOGL_ERROR, pctx, "Error allocation counter group\n");
talloc_free(pctx);

To view, visit change 43338. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: merged
Gerrit-Project: osmo-sgsn
Gerrit-Branch: pespin/rel-1.13.1
Gerrit-Change-Id: I388d7e4550e874cabc51e016d1a35a1074be7ac3
Gerrit-Change-Number: 43338
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin@sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: osmith <osmith@sysmocom.de>
Gerrit-Reviewer: pespin <pespin@sysmocom.de>