commit | 2e2a0a1561207361b09f70a68c5500e5ea1341a4 | [log] [tgz] |
---|---|---|
author | arehbein <arehbein@sysmocom.de> | Thu Oct 19 18:00:04 2023 +0200 |
committer | daniel <dwillmann@sysmocom.de> | Fri Oct 20 10:00:32 2023 +0000 |
tree | daba534ceebf28ab5f05be951d4d5ccdf4693ec4 | |
parent | 714843a455a00da74377f4636b73aa8b5a308a27 [diff] [blame] |
osmo_io_poll: Handle -EAGAIN in case of OSMO_FD_WRITE Related: OS#6213 Change-Id: I59c86370d13f2bb33c289d1b177df895726975cb
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: