diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/gb/gprs_bssgp.c | 9 | ||||
| -rw-r--r-- | src/gb/libosmogb.map | 1 | 
2 files changed, 10 insertions, 0 deletions
| diff --git a/src/gb/gprs_bssgp.c b/src/gb/gprs_bssgp.c index b695c284..896f1c5a 100644 --- a/src/gb/gprs_bssgp.c +++ b/src/gb/gprs_bssgp.c @@ -141,6 +141,15 @@ struct bssgp_bvc_ctx *btsctx_alloc(uint16_t bvci, uint16_t nsei)  	return ctx;  } +void bssgp_bvc_ctx_free(struct bssgp_bvc_ctx *ctx) +{ +	if (!ctx) +		return; +	rate_ctr_group_free(ctx->ctrg); +	llist_del(&ctx->list); +	talloc_free(ctx); +} +  /* Chapter 10.4.5: Flow Control BVC ACK */  static int bssgp_tx_fc_bvc_ack(uint16_t nsei, uint8_t tag, uint16_t ns_bvci)  { diff --git a/src/gb/libosmogb.map b/src/gb/libosmogb.map index 5e675a66..ad139c1c 100644 --- a/src/gb/libosmogb.map +++ b/src/gb/libosmogb.map @@ -80,6 +80,7 @@ gprs_nsvc_state_append;  gprs_log_filter_fn;  btsctx_alloc; +bssgp_bvc_ctx_free;  btsctx_by_bvci_nsei;  btsctx_by_raid_cid; | 
