diff options
author | dimitri staessens <dimitri.staessens@ugent.be> | 2017-04-04 07:53:30 +0000 |
---|---|---|
committer | Sander Vrijders <sander.vrijders@ugent.be> | 2017-04-04 07:53:30 +0000 |
commit | 7647833ec5bafd7b9c54e97ffde31227f4d220a2 (patch) | |
tree | a1d5f436e070701f944fe1d12bfa3c0947acf9db /src/ipcpd/local | |
parent | ca1d635458b5ef56e27d9265a2c89580d9d0f218 (diff) | |
parent | 5ac15427a1a2274dfb678ec569ce1698c6a89c77 (diff) | |
download | ouroboros-7647833ec5bafd7b9c54e97ffde31227f4d220a2.tar.gz ouroboros-7647833ec5bafd7b9c54e97ffde31227f4d220a2.zip |
Merged in dstaesse/ouroboros/be-stable (pull request #458)
ipcpd: Fix lock order in local sdu_loop
Diffstat (limited to 'src/ipcpd/local')
-rw-r--r-- | src/ipcpd/local/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ipcpd/local/main.c b/src/ipcpd/local/main.c index bb7f8325..a49a5b97 100644 --- a/src/ipcpd/local/main.c +++ b/src/ipcpd/local/main.c @@ -113,8 +113,8 @@ static void * ipcp_local_sdu_loop(void * o) if (fd != -1) local_flow_write(fd, idx); - pthread_rwlock_unlock(&ipcpi.state_lock); pthread_rwlock_unlock(&local_data.lock); + pthread_rwlock_unlock(&ipcpi.state_lock); } } |