From 79fc8e74cb9ac05adeb663914eb978e9f4f604b8 Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Fri, 14 Oct 2022 11:27:13 +0200 Subject: [PATCH] packetpool: debug message to assist drop checks --- src/tmqh-packetpool.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/tmqh-packetpool.c b/src/tmqh-packetpool.c index f715c393f8..169856abe5 100644 --- a/src/tmqh-packetpool.c +++ b/src/tmqh-packetpool.c @@ -434,6 +434,11 @@ void TmqhOutputPacketpool(ThreadVars *t, Packet *p) SCLogDebug("tunnel stuff done, move on (proot %d)", proot); } + SCLogDebug("[packet %p][%s] %s", p, + IS_TUNNEL_PKT(p) ? IS_TUNNEL_ROOT_PKT(p) ? "tunnel::root" : "tunnel::leaf" + : "no tunnel", + (p->action & ACTION_DROP) ? "DROP" : "no drop"); + /* we're done with the tunnel root now as well */ if (proot == true) { SCLogDebug("getting rid of root pkt... alloc'd %s", p->root->flags & PKT_ALLOC ? "true" : "false");