aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bts-sysmo/l1_transp_fwd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/osmo-bts-sysmo/l1_transp_fwd.c')
-rw-r--r--src/osmo-bts-sysmo/l1_transp_fwd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osmo-bts-sysmo/l1_transp_fwd.c b/src/osmo-bts-sysmo/l1_transp_fwd.c
index 4d2b4863..143c8592 100644
--- a/src/osmo-bts-sysmo/l1_transp_fwd.c
+++ b/src/osmo-bts-sysmo/l1_transp_fwd.c
@@ -64,7 +64,7 @@ static const uint16_t fwd_udp_ports[] = {
static int fwd_read_cb(struct osmo_fd *ofd)
{
- struct msgb *msg = msgb_alloc_headroom(2048, 127, "udp_rx");
+ struct msgb *msg = msgb_alloc_headroom(sizeof(SuperFemto_Prim_t) + 128, 128, "udp_rx");
struct femtol1_hdl *fl1h = ofd->data;
int rc;