diff options
Diffstat (limited to 'src/irmd')
-rw-r--r-- | src/irmd/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/irmd/main.c b/src/irmd/main.c index 4ee6399d..a33fae84 100644 --- a/src/irmd/main.c +++ b/src/irmd/main.c @@ -1208,7 +1208,7 @@ static int flow_dealloc_ipcp(int port_id) struct port_map_entry * e = NULL; rw_lock_rdlock(&instance->state_lock); - rw_lock_rdlock(&instance->flows_lock); + rw_lock_wrlock(&instance->flows_lock); e = get_port_map_entry(port_id); if (e == NULL) { |