nfq: micro optimization

pull/4321/head
Victor Julien 7 years ago
parent 9d6087f7d6
commit 2fd1174a56

@ -1021,7 +1021,7 @@ TmEcode ReceiveNFQLoop(ThreadVars *tv, void *data, void *slot)
ntv->slot = ((TmSlot *) slot)->slot_next; ntv->slot = ((TmSlot *) slot)->slot_next;
while(1) { while(1) {
if (suricata_ctl_flags != 0) { if (unlikely(suricata_ctl_flags != 0)) {
NFQDestroyQueue(nq); NFQDestroyQueue(nq);
break; break;
} }

Loading…
Cancel
Save