Attention is currently required from: laforge.
2 comments:
Patchset:
I don't really understand this patch (but then I'm not an expert in the new osmo_io code). […]
You're correct, I didn't at first understand the code well enough and thought of maintaining `iofd->pending` parallel to `msg` (in `iofd_poll_ofd_cb_recvmsg_sendmsg()`) in case of an incompletely received message (instead of removing it from the osmo_io fd via ` msg = iofd_msgb_pending_or_alloc(iofd);`).
So my first approach was to maintain the old logic while trying to add new logic in case of having previously received an incompletely read packet, which is why it turned out like this.
File src/core/osmo_io_poll.c:
IMHO, the unconditional iov_base = msg->tail should do the trick here. […]
Yes thanks, good catch. I changed the patch accordingly.
To view, visit change 33346. To unsubscribe, or for help writing mail filters, visit settings.