From: Victor Julien Date: Fri, 14 Oct 2022 09:27:13 +0000 (+0200) Subject: packetpool: debug message to assist drop checks X-Git-Tag: suricata-7.0.0-beta1~69 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=79fc8e74cb9ac05adeb663914eb978e9f4f604b8;p=thirdparty%2Fsuricata.git packetpool: debug message to assist drop checks --- 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");