Skip to content
Success

Changes

Summary

  1. osmo-io: Put together message buffers when dequeued from tx queue (details)
Commit e513b98f8d2f18d51c3fa9eb15c0f50c6a731ef0 by Andreas Eversberg
osmo-io: Put together message buffers when dequeued from tx queue

Write operations may be incomplete. osmo-io processs will remove
complete message buffers after a write operation from msghdr and put
the msghdr with the remaining buffers back into tx_queue.

If the user requests multiple messages buffers per write operation, the
msghdr of an incomplete write may have less message buffers than the
user requested. The remaining buffers are buffers are taken from next
msghdr in the queue, if exists.

Change-Id: I97c366211dd266fd58ec252890ec017d6d334534
The file was modifiedsrc/core/osmo_io.c