commit | 6ffbaab90d13063f887baff196246594ba89ac5c | [log] [tgz] |
---|---|---|
author | Harald Welte <laforge@gnumonks.org> | Tue May 18 12:44:45 2010 +0200 |
committer | Harald Welte <laforge@gnumonks.org> | Tue May 18 12:44:45 2010 +0200 |
tree | 4805c3efdf2b692b7e10a31268f0adda0c9dbc58 | |
parent | b61f403dd3aba5310f8eba5e4bdd2cfea3b7925f [diff] |
[GPRS] SGSN: properly initialzie pdp_list head of mm ctx
diff --git a/openbsc/src/gprs/gprs_sgsn.c b/openbsc/src/gprs/gprs_sgsn.c index 892c1b0..38056f0 100644 --- a/openbsc/src/gprs/gprs_sgsn.c +++ b/openbsc/src/gprs/gprs_sgsn.c
@@ -116,6 +116,7 @@ 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);