From 5ac15427a1a2274dfb678ec569ce1698c6a89c77 Mon Sep 17 00:00:00 2001 From: dimitri staessens Date: Tue, 4 Apr 2017 09:36:50 +0200 Subject: ipcpd: Fix lock order in local sdu_loop --- src/ipcpd/local/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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); } } -- cgit v1.2.3