summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordimitri staessens <dimitri.staessens@ugent.be>2017-08-15 22:25:54 +0200
committerdimitri staessens <dimitri.staessens@ugent.be>2017-08-16 08:18:03 +0200
commita27bef54052b81406ba3142be3da4ab2a6330de6 (patch)
tree57a4d386fcc20cd7bbef330a246357ed3cfdae35
parent8e4e526f811fb0e1d358f79707d488b619a60e47 (diff)
downloadouroboros-a27bef54052b81406ba3142be3da4ab2a6330de6.tar.gz
ouroboros-a27bef54052b81406ba3142be3da4ab2a6330de6.zip
ipcpd: Fix missing clock_gettime in flow allocator
-rw-r--r--src/ipcpd/normal/fa.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ipcpd/normal/fa.c b/src/ipcpd/normal/fa.c
index 06f10b53..2488f017 100644
--- a/src/ipcpd/normal/fa.c
+++ b/src/ipcpd/normal/fa.c
@@ -287,6 +287,8 @@ int fa_alloc_resp(int fd,
struct shm_du_buff * sdb;
qoscube_t qc;
+ clock_gettime(PTHREAD_COND_CLOCK, &abstime);
+
pthread_mutex_lock(&ipcpi.alloc_lock);
while (ipcpi.alloc_id != fd && ipcp_get_state() == IPCP_OPERATIONAL) {