Neels Hofmeyr has submitted this change and it was merged. Change subject: set RANAP msgb headroom to 512 (times two) ......................................................................
set RANAP msgb headroom to 512 (times two) With a headroom of 256, the SGSN crashes with: msgb(0x6e3b90): Not enough headroom msgb_push (256 < 264) I'm not perfectly sure what amount of headroom is strictly necessary. The only reason to pick 512 is that it is twice the amount of 256. Change-Id: I9a193846902a0477af0873f78283c4f2bedaf5dd --- M src/ranap_common.c 1 file changed, 1 insertion(+), 1 deletion(-) Approvals: Harald Welte: Looks good to me, approved Jenkins Builder: Verified diff --git a/src/ranap_common.c b/src/ranap_common.c index a468229..13c913f 100644 --- a/src/ranap_common.c +++ b/src/ranap_common.c @@ -291,7 +291,7 @@ static struct msgb *ranap_msgb_alloc(void) { - return msgb_alloc_headroom(1024+256, 256, "RANAP Tx"); + return msgb_alloc_headroom(1024+512, 512, "RANAP Tx"); } static struct msgb *_ranap_gen_msg(RANAP_RANAP_PDU_t *pdu) -- To view, visit https://gerrit.osmocom.org/3114 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: I9a193846902a0477af0873f78283c4f2bedaf5dd Gerrit-PatchSet: 3 Gerrit-Project: osmo-iuh Gerrit-Branch: master Gerrit-Owner: Neels Hofmeyr <nhofm...@sysmocom.de> Gerrit-Reviewer: Harald Welte <lafo...@gnumonks.org> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: Neels Hofmeyr <nhofm...@sysmocom.de>