dpdk: set new running flag at thread startup

pull/8097/head
Victor Julien 3 years ago
parent 91b7b63ed2
commit 2f9ca8bb34

@ -349,6 +349,10 @@ static TmEcode ReceiveDPDKLoop(ThreadVars *tv, void *data, void *slot)
ptv->slot = s->slot_next;
// Indicate that the thread is actually running its application level code (i.e., it can poll
// packets)
TmThreadsSetFlag(tv, THV_RUNNING);
PacketPoolWait();
while (1) {
if (unlikely(suricata_ctl_flags != 0)) {

Loading…
Cancel
Save