]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
detect: move large array to bottom of detect thread ctx
authorVictor Julien <vjulien@oisf.net>
Wed, 11 Jun 2025 17:09:53 +0000 (19:09 +0200)
committerVictor Julien <victor@inliniac.net>
Wed, 11 Jun 2025 18:49:19 +0000 (20:49 +0200)
src/detect.h

index eaa2d2bfd654617538434f11dae8caf9b629221e..a5e9e1527738bdba62d8fa695150f3404b1bd435 100644 (file)
@@ -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;