aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2015-11-27 01:20:53 +0100
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2015-12-03 11:40:22 +0100
commitd121ea612460b8a6f78a3bc91ab164651240f48a (patch)
treebc6e97a5f07ed02569f79d7de4b1df79f4428842 /openbsc/include
parentf977320736fe15ffc3a0e6110bec7823a57c65ee (diff)
gtphub: use a single TEI pool across planes.
There's no need to keep two separate number pools when both can be fed from the same pool. User and Ctrl plane TEIs can technically overlap without colliding, but it doesn't hurt if they don't overlap, either. Sponsored-by: On-Waves ehi
Diffstat (limited to 'openbsc/include')
-rw-r--r--openbsc/include/openbsc/gtphub.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/include/openbsc/gtphub.h b/openbsc/include/openbsc/gtphub.h
index 2d9d39000..a142867d6 100644
--- a/openbsc/include/openbsc/gtphub.h
+++ b/openbsc/include/openbsc/gtphub.h
@@ -444,7 +444,7 @@ struct gtphub {
* uint32_t; if a new TEI were mapped every second, this would take
* more than 100 years (in which a single given TEI must not time out)
* to cause a problem. */
- struct nr_pool tei_pool[GTPH_PLANE_N];
+ struct nr_pool tei_pool;
struct llist_head tunnels; /* struct gtphub_tunnel */