aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2010-05-18 12:44:45 +0200
committerHarald Welte <laforge@gnumonks.org>2010-05-18 12:44:45 +0200
commit6ffbaab90d13063f887baff196246594ba89ac5c (patch)
tree4805c3efdf2b692b7e10a31268f0adda0c9dbc58 /openbsc
parentb61f403dd3aba5310f8eba5e4bdd2cfea3b7925f (diff)
[GPRS] SGSN: properly initialzie pdp_list head of mm ctx
Diffstat (limited to 'openbsc')
-rw-r--r--openbsc/src/gprs/gprs_sgsn.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsc/src/gprs/gprs_sgsn.c b/openbsc/src/gprs/gprs_sgsn.c
index 892c1b00c..38056f0e2 100644
--- a/openbsc/src/gprs/gprs_sgsn.c
+++ b/openbsc/src/gprs/gprs_sgsn.c
@@ -116,6 +116,7 @@ struct sgsn_mm_ctx *sgsn_mm_ctx_alloc(uint32_t tlli,
ctx->tlli = tlli;
ctx->mm_state = GMM_DEREGISTERED;
ctx->ctrg = rate_ctr_group_alloc(ctx, &mmctx_ctrg_desc, tlli);
+ INIT_LLIST_HEAD(&ctx->pdp_list);
llist_add(&ctx->list, &sgsn_mm_ctxts);