Change in libosmo-abis[master]: input/lapd.c: Enlarge message buffers for DL-SAP primitives

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

laforge gerrit-no-reply at lists.osmocom.org
Fri Jul 3 17:32:46 UTC 2020


laforge has submitted this change. ( https://gerrit.osmocom.org/c/libosmo-abis/+/19126 )

Change subject: input/lapd.c: Enlarge message buffers for DL-SAP primitives
......................................................................

input/lapd.c: Enlarge message buffers for DL-SAP primitives

The DL-SAP primitive msgbs are currently allocated
to only have headroom but no tailroom.  Let's change that

Change-Id: Ia476c8a2f70e6579be53230427923885a573f801
Related: OS#4644
---
M src/input/lapd.c
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Jenkins Builder: Verified
  laforge: Looks good to me, approved



diff --git a/src/input/lapd.c b/src/input/lapd.c
index 9bab5a9..5c0a6b6 100644
--- a/src/input/lapd.c
+++ b/src/input/lapd.c
@@ -82,7 +82,7 @@
 #define LOGSAP(sap, level, fmt, args ...) \
 	LOGP(DLLAPD, level, "%s: " fmt, (sap)->dl.name, ## args)
 
-#define DLSAP_MSGB_SIZE		56
+#define DLSAP_MSGB_SIZE		128
 #define DLSAP_MSGB_HEADROOM	56
 
 const struct lapd_profile lapd_profile_isdn = {

-- 
To view, visit https://gerrit.osmocom.org/c/libosmo-abis/+/19126
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: libosmo-abis
Gerrit-Branch: master
Gerrit-Change-Id: Ia476c8a2f70e6579be53230427923885a573f801
Gerrit-Change-Number: 19126
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <laforge at osmocom.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200703/ec62610e/attachment.htm>


More information about the gerrit-log mailing list