Skip to content
Success

#26454 (Jan 22, 2026, 12:23:19 PM)

Started 25 days ago
Took 3.8 sec on build4-deb12build-ansible

Started by upstream project gerrit-libosmocore build number 2219
originally caused by:

This run spent:

  • 3 min 27 sec waiting;
  • 3.8 sec build duration;
  • 3 min 31 sec total from scheduled to completion.
Revision: 729ab18b4a5023a8adc00934c9276ea2a3b412a3
Repository: $GERRIT_REPO_URL
  • master
osmo_io: Support rx of segments up to ~UINT16_MAX

Previously if we recevied a big chunk (near UINT16_MAX), we would hit
the following assert in iofd_msgb_alloc2(), because our msgb
implementation can only handle sizes up to 16 bit length, counting
headroom + data length:
"OSMO_ASSERT(size + headroom <= 0xffff);".

This new improved logic allows handling segments of up to ~UINT16_MAX
which may come in in multiple read calls. It also adds logic to catch
received segments greater than UINT16_MAX (or buggy segment_cb or buggy
peer transmitting to us) and notifies the user of a broken stream
through read_cb() in that case.

Related: SYS#7842
Change-Id: I8c11a7edbed2335ada40a1f93d081041974c3586
Pau Espin Pedrol at