Make sure tunnel packets (and pseudo packets) properly decrement the flow use counter in all cases.

remotes/origin/master-1.1.x
Victor Julien 15 years ago
parent 37587c0b7d
commit 4bf4382354

@ -192,6 +192,8 @@ void TmqhOutputPacketpool(ThreadVars *t, Packet *p)
/* we're done with the tunnel root now as well */
if (proot == 1) {
SCLogDebug("getting rid of root pkt... alloc'd %s", p->root->flags & PKT_ALLOC ? "true" : "false");
FlowDecrUsecnt(p->root->flow);
/* if p->root uses extended data, free them */
if (p->root->ext_pkt) {
SCFree(p->root->ext_pkt);

Loading…
Cancel
Save