diff --git a/src/source-nfq.c b/src/source-nfq.c index 44dbf7a6df..e820e71fe6 100644 --- a/src/source-nfq.c +++ b/src/source-nfq.c @@ -1021,7 +1021,7 @@ TmEcode ReceiveNFQLoop(ThreadVars *tv, void *data, void *slot) ntv->slot = ((TmSlot *) slot)->slot_next; while(1) { - if (suricata_ctl_flags != 0) { + if (unlikely(suricata_ctl_flags != 0)) { NFQDestroyQueue(nq); break; }