diff options
author | dimitri staessens <dimitri.staessens@intec.ugent.be> | 2016-10-20 19:52:02 +0200 |
---|---|---|
committer | dimitri staessens <dimitri.staessens@intec.ugent.be> | 2016-10-21 14:17:51 +0200 |
commit | 02976060919566d1a217b818ca8f33297700d56d (patch) | |
tree | b8b6d7a4ff6f3b763891b6285248d6495e267a6a /src/lib/shm_flow_set.c | |
parent | f516b51169020ea1957010fbd1005d746f01b1d9 (diff) | |
download | ouroboros-02976060919566d1a217b818ca8f33297700d56d.tar.gz ouroboros-02976060919566d1a217b818ca8f33297700d56d.zip |
lib: Move rbuff creation/destruction to IRMd
This stabilises flow allocation now that the rbuffs are created upon
flow allocation. Only the IRMd can sync this process sufficiently.
Diffstat (limited to 'src/lib/shm_flow_set.c')
-rw-r--r-- | src/lib/shm_flow_set.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/lib/shm_flow_set.c b/src/lib/shm_flow_set.c index c960bd25..04de9fc5 100644 --- a/src/lib/shm_flow_set.c +++ b/src/lib/shm_flow_set.c @@ -315,7 +315,6 @@ int shm_flow_set_has(struct shm_flow_set * shm_set, assert(!(port_id < 0) && port_id < IRMD_MAX_FLOWS); assert(!(idx < 0) && idx < AP_MAX_FQUEUES); - pthread_mutex_lock(shm_set->lock); if (shm_set->mtable[port_id] == idx) |