aboutsummaryrefslogtreecommitdiff
path: root/src/uapi/ipc.c
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2024-06-01 15:22:06 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2024-06-01 15:22:06 +0300
commite8f80bae97a835b6b256228d4bbeaf48ae16dcbb (patch)
tree82605e5f057840c314615d4581311c197033705d /src/uapi/ipc.c
parentbc600ecc3bdf0f189861dfb840f70c2339a7a853 (diff)
downloadkmi-e8f80bae97a835b6b256228d4bbeaf48ae16dcbb.tar.gz
kmi-e8f80bae97a835b6b256228d4bbeaf48ae16dcbb.zip
slight tweaks to sptree stuff
Diffstat (limited to 'src/uapi/ipc.c')
-rw-r--r--src/uapi/ipc.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/uapi/ipc.c b/src/uapi/ipc.c
index cb2ce28..bc836fc 100644
--- a/src/uapi/ipc.c
+++ b/src/uapi/ipc.c
@@ -315,7 +315,9 @@ SYSCALL_DEFINE4(ipc_resp)(struct tcb *t, sys_arg_t d0, sys_arg_t d1,
if (unlikely(!is_rpc(t)))
return_args1(t, ERR_MISC);
- leave_rpc(t, SYS_RET6(OK, t->tid, d0, d1, d2, d3));
+ /* inform requester who answered (pid) in the case of the request being
+ * kicked forward */
+ leave_rpc(t, SYS_RET6(OK, t->pid, d0, d1, d2, d3));
}
/**