Change in simtrace2[master]: remsim: add msg payload after header

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

Harald Welte gerrit-no-reply at lists.osmocom.org
Sun Jul 29 08:12:47 UTC 2018


Harald Welte has posted comments on this change. ( https://gerrit.osmocom.org/10218 )

Change subject: remsim: add msg payload after header
......................................................................


Patch Set 2: Code-Review-1

I don't think this is the right solution, sorry.  Message buffers exist exactly to avoid ever copying data around, but to have a flexible buffer to which data can be pre-pended (pushed) and appended (put) at any point in time.  If the old code was overwriting something, the msgb must have been in a bad state or there's some other bug in the code using msgb's.  I don't understand why we'd want to alloacate a new one and copy data over?


-- 
To view, visit https://gerrit.osmocom.org/10218
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: simtrace2
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: If971699993617fc50557d20582c344ea06645a3f
Gerrit-Change-Number: 10218
Gerrit-PatchSet: 2
Gerrit-Owner: Kévin Redon <kredon at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Comment-Date: Sun, 29 Jul 2018 08:12:47 +0000
Gerrit-HasComments: No
Gerrit-HasLabels: Yes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180729/67cf5018/attachment.htm>


More information about the gerrit-log mailing list