aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/abis.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2012-04-05 01:16:46 +0200
committerHarald Welte <laforge@gnumonks.org>2012-04-05 01:16:46 +0200
commit2ed209c7580425804fb0fdaa88f28171993323b0 (patch)
treed1a0e74a4bc9d199b4a7055dc3b8ab6e724a4038 /src/common/abis.c
parenta0970249bf4f29f2028b042e2d7229a54ea10e42 (diff)
Increase head-room in IPA messages received
Without that headroom, I ran into an abort due to insufficient headroom in the LAPDm code.
Diffstat (limited to 'src/common/abis.c')
-rw-r--r--src/common/abis.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/abis.c b/src/common/abis.c
index b074cbd8..fbd5398e 100644
--- a/src/common/abis.c
+++ b/src/common/abis.c
@@ -368,7 +368,7 @@ static int abis_sock_cb(struct osmo_fd *bfd, unsigned int what)
if ((what & BSC_FD_READ)) {
if (!link->rx_msg) {
- link->rx_msg = msgb_alloc(ABIS_ALLOC_SIZE, "Abis/IP");
+ link->rx_msg = abis_msgb_alloc(128);
if (!link->rx_msg)
return -ENOMEM;
}