diff options
author | Harald Welte <laforge@gnumonks.org> | 2012-04-05 01:16:46 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2012-04-05 01:16:46 +0200 |
commit | 2ed209c7580425804fb0fdaa88f28171993323b0 (patch) | |
tree | d1a0e74a4bc9d199b4a7055dc3b8ab6e724a4038 | |
parent | a0970249bf4f29f2028b042e2d7229a54ea10e42 (diff) |
Increase head-room in IPA messages received
Without that headroom, I ran into an abort due to insufficient headroom
in the LAPDm code.
-rw-r--r-- | src/common/abis.c | 2 |
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; } |