pespin has uploaded a new patch set (#2). ( https://gerrit.osmocom.org/c/libosmocore/+/44141?usp=email ) Change subject: osmo_io: Refactor iofd_msghdr_alloc() ...................................................................... osmo_io: Refactor iofd_msghdr_alloc() * flags can be passed during iofd_msghdr_alloc() as a parameter easily rather than later on assigning it to the already created object, do so. * msghdr has to be filled in differently mainly based on whether it is to be used for read or write related operations. Hence, split the allocation into 2 functions and fill as much as possible inside the allocation function (eg. internal pointers from the iofd_msghdr to the (sub) struct msghdr one. This way all users of the iofd_msghdr alloction are simplified a lot. Change-Id: I6552db468aaad7f638dade748f94a30255307f03 --- M src/core/osmo_io.c M src/core/osmo_io_internal.h M src/core/osmo_io_poll.c M src/core/osmo_io_uring.c 4 files changed, 101 insertions(+), 111 deletions(-) git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/41/44141/2 -- To view, visit https://gerrit.osmocom.org/c/libosmocore/+/44141?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: newpatchset Gerrit-Project: libosmocore Gerrit-Branch: master Gerrit-Change-Id: I6552db468aaad7f638dade748f94a30255307f03 Gerrit-Change-Number: 44141 Gerrit-PatchSet: 2 Gerrit-Owner: pespin <pespin@sysmocom.de>