summaryrefslogtreecommitdiff
path: root/src/ipcpd/tests/timerwheel_test.c
diff options
context:
space:
mode:
authorDimitri Staessens <dimitri.staessens@ugent.be>2017-08-05 10:05:44 -0600
committerDimitri Staessens <dimitri.staessens@ugent.be>2017-08-05 10:05:44 -0600
commit57784d85969a0bcf8599442e3be5ae7edf1fbe10 (patch)
tree0c519efe6d6e9b4c8128c0522d81b9e981af3629 /src/ipcpd/tests/timerwheel_test.c
parentffd8de94c9b3829116f6604dfae8aa9a24ef2ef3 (diff)
downloadouroboros-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/ipcpd/tests/timerwheel_test.c')
0 files changed, 0 insertions, 0 deletions