From: Victor Julien Date: Sun, 9 Dec 2018 08:05:44 +0000 (+0100) Subject: unix: fix deadlock in unix runmode on many cores X-Git-Tag: suricata-4.1.1~17 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9d36182b7433ce028ffc2ae4040bfcc1f256d72a;p=thirdparty%2Fsuricata.git unix: fix deadlock in unix runmode on many cores Same issue as in 7f8795c7563827f090d8679cb35847af0085fc56, with the solution now also applied to the unix socket runmode. Bug #2734 --- diff --git a/src/runmode-unix-socket.c b/src/runmode-unix-socket.c index 199dbee75d..1fe2e026b3 100644 --- a/src/runmode-unix-socket.c +++ b/src/runmode-unix-socket.c @@ -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);