]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
unix: fix deadlock in unix runmode on many cores
authorVictor Julien <victor@inliniac.net>
Sun, 9 Dec 2018 08:05:44 +0000 (09:05 +0100)
committerVictor Julien <victor@inliniac.net>
Sat, 16 Feb 2019 13:58:18 +0000 (14:58 +0100)
Same issue as in 7f8795c7563827f090d8679cb35847af0085fc56, with the
solution now also applied to the unix socket runmode.

Bug #2735

src/runmode-unix-socket.c

index 79eb787c8e2b3fdc9180c7457b3ec4dff50567dc..086f5fffd14765c64fc8cdd1447e507fb5d3a82f 100644 (file)
@@ -352,6 +352,7 @@ static TmEcode UnixSocketPcapFilesCheck(void *data)
 
     /* Un-pause all the paused threads */
     TmThreadWaitOnThreadInit();
+    PacketPoolPostRunmodes();
     TmThreadContinueThreads();
     return TM_ECODE_OK;
 }