arehbein has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmocore/+/34835?usp=email )
Change subject: osmo_io_poll: Handle -EAGAIN in case of OSMO_FD_WRITE ...................................................................... osmo_io_poll: Handle -EAGAIN in case of OSMO_FD_WRITE Related: OS#6213 Change-Id: I59c86370d13f2bb33c289d1b177df895726975cb --- M src/core/osmo_io_poll.c 1 file changed, 14 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/35/34835/1 diff --git a/src/core/osmo_io_poll.c b/src/core/osmo_io_poll.c index d207047..a9aaea4 100644 --- a/src/core/osmo_io_poll.c +++ b/src/core/osmo_io_poll.c @@ -86,6 +86,10 @@ iofd_txqueue_enqueue_front(iofd, msghdr); return; } + if (rc == -EAGAIN) { + iofd_txqueue_enqueue_front(iofd, msghdr); + return; + } switch (iofd->mode) { case OSMO_IO_FD_MODE_READ_WRITE: -- To view, visit https://gerrit.osmocom.org/c/libosmocore/+/34835?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: libosmocore Gerrit-Branch: master Gerrit-Change-Id: I59c86370d13f2bb33c289d1b177df895726975cb Gerrit-Change-Number: 34835 Gerrit-PatchSet: 1 Gerrit-Owner: arehbein <arehb...@sysmocom.de> Gerrit-MessageType: newchange