From: Scott Jordan Date: Mon, 1 Nov 2021 21:43:43 +0000 (-0500) Subject: stream: memcap tracking for TcpSegment alloc X-Git-Tag: suricata-7.0.0-beta1~561 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2bf3172dd15b5d9faabbca1b7be7fb373f0d28c1;p=thirdparty%2Fsuricata.git stream: memcap tracking for TcpSegment alloc --- diff --git a/src/stream-tcp-reassemble.c b/src/stream-tcp-reassemble.c index bf634f5bb6..a01d8f72cb 100644 --- a/src/stream-tcp-reassemble.c +++ b/src/stream-tcp-reassemble.c @@ -291,6 +291,8 @@ static void *TcpSegmentPoolAlloc(void) return NULL; } } + + StreamTcpReassembleIncrMemuse(memuse); } else { seg->pcap_hdr_storage = NULL; }