packetpool: ifdef debug check

pull/7767/head
Victor Julien 3 years ago
parent e7727c3744
commit aa09d5f556

@ -451,10 +451,12 @@ void TmqhOutputPacketpool(ThreadVars *t, Packet *p)
SCLogDebug("tunnel stuff done, move on (proot %d)", proot);
}
#ifdef DEBUG_VALIDATION
/* Check that the drop reason has been set, if we have a drop */
if (PacketTestAction(p, ACTION_DROP)) {
DEBUG_VALIDATE_BUG_ON((p)->drop_reason == PKT_DROP_REASON_NOT_SET);
}
#endif
/* we're done with the tunnel root now as well */
if (proot == true) {

Loading…
Cancel
Save