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

Bug #2734

src/runmode-unix-socket.c

index 199dbee75d5dd111c34578ea3226c8816554fdbc..1fe2e026b3c73f74fd30bdbfd40c5a6d8e1345a8 100644 (file)
@@ -575,6 +575,7 @@ static TmEcode UnixSocketPcapFilesCheck(void *data)
 
     /* Un-pause all the paused threads */
     TmThreadWaitOnThreadInit();
+    PacketPoolPostRunmodes();
     TmThreadContinueThreads();
 
     SCLogInfo("Starting run for '%s'", this->current_file->filename);