Attention is currently required from: pespin.
jolly has posted comments on this change by jolly. ( https://gerrit.osmocom.org/c/libosmocore/+/40492?usp=email )
Change subject: Add multiple messages buffers to io_uring read operations ......................................................................
Patch Set 9:
(1 comment)
File src/core/osmo_io.c:
https://gerrit.osmocom.org/c/libosmocore/+/40492/comment/e05454a0_e5cc1d8d?u... : PS9, Line 166: if (idx == 0) {
shouldn't this be "if (idx != io_len)" ?
the idea is to have keep the msgb buffers we could allocate. (in case of memory allocation problems.) if we could not allocate any buffer, we free our msghdr and return NULL.