jolly has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/libosmocore/+/36270?usp=email )


Change subject: Fix file descriptor that is passed to 
io_uring_register_eventfd()
......................................................................

Fix file descriptor that is passed to io_uring_register_eventfd()

Fix Change-Id I03752c0114cc6fad0c31fff6fff43072f36a50a7

Change-Id: Ie085c7cb3eb57e0da10485be8f90208cb41b0073
---
M src/core/osmo_io_uring.c
1 file changed, 12 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/70/36270/1

diff --git a/src/core/osmo_io_uring.c b/src/core/osmo_io_uring.c
index e163ee0..569f150 100644
--- a/src/core/osmo_io_uring.c
+++ b/src/core/osmo_io_uring.c
@@ -108,7 +108,7 @@
                io_uring_queue_exit(&g_ring.ring);
                osmo_panic("failure registering io_uring-eventfd as osmo_fd: 
%d\n", rc);
        }
-       rc = io_uring_register_eventfd(&g_ring.ring, rc);
+       rc = io_uring_register_eventfd(&g_ring.ring, evfd);
        if (rc < 0) {
                osmo_fd_unregister(&g_ring.event_ofd);
                close(evfd);

--
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/36270?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: Ie085c7cb3eb57e0da10485be8f90208cb41b0073
Gerrit-Change-Number: 36270
Gerrit-PatchSet: 1
Gerrit-Owner: jolly <andr...@eversberg.eu>
Gerrit-MessageType: newchange

Reply via email to