From: Victor Julien Date: Wed, 11 Jun 2025 17:09:53 +0000 (+0200) Subject: detect: move large array to bottom of detect thread ctx X-Git-Tag: suricata-8.0.0-rc1~6 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=32223bb6f7e882fa1cdb9e935e669b479ffa105b;p=thirdparty%2Fsuricata.git detect: move large array to bottom of detect thread ctx --- diff --git a/src/detect.h b/src/detect.h index eaa2d2bfd6..a5e9e15277 100644 --- a/src/detect.h +++ b/src/detect.h @@ -1278,7 +1278,6 @@ typedef struct DetectEngineThreadCtx_ { /* byte_* values */ uint64_t *byte_values; - SigJsonContent json_content[SIG_JSON_CONTENT_ARRAY_LEN]; size_t json_content_len; /* counter for the filestore array below -- up here for cache reasons. */ @@ -1383,6 +1382,7 @@ typedef struct DetectEngineThreadCtx_ { /** stat of lua memory limit errors. */ uint16_t lua_memory_limit_errors; + SigJsonContent json_content[SIG_JSON_CONTENT_ARRAY_LEN]; #ifdef DEBUG uint64_t pkt_stream_add_cnt; uint64_t payload_mpm_cnt;