Change in osmo-ccid-firmware[master]: ccid: adjust msgb size

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/.

Hoernchen gerrit-no-reply at lists.osmocom.org
Sat Nov 7 18:42:26 UTC 2020


Hoernchen has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ccid-firmware/+/21072 )


Change subject: ccid: adjust msgb size
......................................................................

ccid: adjust msgb size

Our transfers are < 300b including the header anyway, no need to have
different allocation sizes.

Change-Id: Ia7b20dc4410f5705d0401bc805cad0ae7a7de406
---
M ccid_common/ccid_device.c
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ccid-firmware refs/changes/72/21072/1

diff --git a/ccid_common/ccid_device.c b/ccid_common/ccid_device.c
index 7819d41..405fb2e 100644
--- a/ccid_common/ccid_device.c
+++ b/ccid_common/ccid_device.c
@@ -180,7 +180,7 @@
 
 static struct msgb *ccid_msgb_alloc(void)
 {
-	struct msgb *msg = msgb_alloc(512, "ccid");
+	struct msgb *msg = msgb_alloc(300, "ccid");
 	OSMO_ASSERT(msg);
 	return msg;
 }

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ccid-firmware/+/21072
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ccid-firmware
Gerrit-Branch: master
Gerrit-Change-Id: Ia7b20dc4410f5705d0401bc805cad0ae7a7de406
Gerrit-Change-Number: 21072
Gerrit-PatchSet: 1
Gerrit-Owner: Hoernchen <ewild at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201107/561141de/attachment.htm>


More information about the gerrit-log mailing list