diff options
author | Dimitri Staessens <dimitri.staessens@ugent.be> | 2017-08-05 10:05:44 -0600 |
---|---|---|
committer | Dimitri Staessens <dimitri.staessens@ugent.be> | 2017-08-05 10:05:44 -0600 |
commit | 57784d85969a0bcf8599442e3be5ae7edf1fbe10 (patch) | |
tree | 0c519efe6d6e9b4c8128c0522d81b9e981af3629 /src/irmd/utils.c | |
parent | ffd8de94c9b3829116f6604dfae8aa9a24ef2ef3 (diff) | |
download | ouroboros-57784d85969a0bcf8599442e3be5ae7edf1fbe10.tar.gz ouroboros-57784d85969a0bcf8599442e3be5ae7edf1fbe10.zip |
irmd: Don't call ipcp_flow_dealloc under lock
When a process was killed, ipcp_flow_dealloc was called under a lock,
causing a deadlock in the IRMd because handling the IPCP response also
needs to take the same lock (the IPCP calls flow_dealloc to finalize
this). This deadlock also resulted in the IPCP always reporting that
it failed to send a reply message as the deadlock effectively blocks
the IRMd until its socket timeout expired and thus the IPCP was always
responding to an already closed socket.
Diffstat (limited to 'src/irmd/utils.c')
0 files changed, 0 insertions, 0 deletions