|
|
|
@ -1,4 +1,4 @@
|
|
|
|
/* Copyright (C) 2007-2021 Open Information Security Foundation
|
|
|
|
/* Copyright (C) 2007-2022 Open Information Security Foundation
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* You can copy, redistribute or modify this Program under the terms of
|
|
|
|
* You can copy, redistribute or modify this Program under the terms of
|
|
|
|
* the GNU General Public License version 2 as published by the Free
|
|
|
|
* the GNU General Public License version 2 as published by the Free
|
|
|
|
@ -732,6 +732,7 @@ int StreamTcpReassembleHandleSegmentHandleData(ThreadVars *tv, TcpReassemblyThre
|
|
|
|
SCLogDebug("ssn %p: check depth returned %"PRIu32, ssn, size);
|
|
|
|
SCLogDebug("ssn %p: check depth returned %"PRIu32, ssn, size);
|
|
|
|
|
|
|
|
|
|
|
|
if (stream->flags & STREAMTCP_STREAM_FLAG_DEPTH_REACHED) {
|
|
|
|
if (stream->flags & STREAMTCP_STREAM_FLAG_DEPTH_REACHED) {
|
|
|
|
|
|
|
|
StreamTcpSetEvent(p, STREAM_REASSEMBLY_DEPTH_REACHED);
|
|
|
|
/* increment stream depth counter */
|
|
|
|
/* increment stream depth counter */
|
|
|
|
StatsIncr(tv, ra_ctx->counter_tcp_stream_depth);
|
|
|
|
StatsIncr(tv, ra_ctx->counter_tcp_stream_depth);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|