diff options
author | Harald Welte <laforge@gnumonks.org> | 2017-12-10 22:35:08 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2017-12-10 22:35:08 +0100 |
commit | 6cd8d1243711f4de2f1314c7b87b972572cdec4e (patch) | |
tree | 6ac422b80502894a85435c1f8ec8c65f2d25b4e4 | |
parent | 9af7028ebe72bb5bf47713f11b4e111ed83c0693 (diff) |
Allocate SCCP user primitives with headroom
In I19cb83302aaa404ab1a2d92e6f2aec43d0380426 I set the headroom of
msgb's for SCCP User primitives to zero, assuming that we wouldn't
need any headroom in those primitives.
According to pespin, osmo-msc however needs this headroom:
DLSCCP <002e> sccp_user.c:156 Delivering N-CONNECT.indication to SCCP User 'OsmoMSC-A'
msgb(0xadfba0): Not enough headroom msgb_push (0 < 264)
So let's make sure the new SCCP User primitives are allocated with the
same headroom, just like before I19cb83302aaa404ab1a2d92e6f2aec43d0380426.
Change-Id: I92d7648f8ffd034341e2f12aa79dd3d16ec3a98d
-rw-r--r-- | src/sccp_helpers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sccp_helpers.c b/src/sccp_helpers.c index 1a67488..cafca94 100644 --- a/src/sccp_helpers.c +++ b/src/sccp_helpers.c @@ -34,7 +34,7 @@ #include "sccp_internal.h" #define SCU_MSG_SIZE 2048 -#define SCU_MSG_HEADROOM 0 +#define SCU_MSG_HEADROOM 512 static struct msgb *scu_msgb_alloc(const char *name) { |