Attention is currently required from: fixeria, msuraev. pespin has posted comments on this change. ( https://gerrit.osmocom.org/c/libosmocore/+/29761 )
Change subject: msgb: introduce realloc functions ......................................................................
Patch Set 2: Code-Review-1
(1 comment)
Patchset:
PS2: I think the main point of a realloc API is to avoid allocating a new chunk and having to copy over all the memory in the old chunk unless it's really unneeded. So I think msgb_copy() should be kept as it was, and msgb_realloc in any case implemented with "man realloc" API.
The API you are proposing there is more actually "msgb_copy_new_length()" or something similar, not a realloc function.