pespin has posted comments on this change by pespin. ( https://gerrit.osmocom.org/c/libosmocore/+/41911?usp=email )
Change subject: osmo_io: Prevent abort allocating rx segment bigger than UINT16_MAX ...................................................................... Patch Set 1: Code-Review-2 (1 comment) Patchset: PS1: I actually want to improve this patch by trying to create a new "pending msgb" up to UINT16_MAX - headroom, then caling segment callback and then if some stuff was processed, keeping copying the remaining into "pending msgb" and trying again until done. If segment_cb is returned with remaining size being UINT16_MAX - headroom, then throw an error to the user. -- To view, visit https://gerrit.osmocom.org/c/libosmocore/+/41911?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: comment Gerrit-Project: libosmocore Gerrit-Branch: master Gerrit-Change-Id: I8c11a7edbed2335ada40a1f93d081041974c3586 Gerrit-Change-Number: 41911 Gerrit-PatchSet: 1 Gerrit-Owner: pespin <[email protected]> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: pespin <[email protected]> Gerrit-Comment-Date: Wed, 21 Jan 2026 18:01:11 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: Yes
