ucode: fix skipping lines where the timestamp cannot be parsed
authorFelix Fietkau <[email protected]>
Sun, 28 Sep 2025 10:15:08 +0000 (12:15 +0200)
committerFelix Fietkau <[email protected]>
Sun, 28 Sep 2025 10:15:12 +0000 (12:15 +0200)
Skip to the next line

Signed-off-by: Felix Fietkau <[email protected]>
lib-ucode.c

index cc1759dcfd9a44458d547164aaa7e7a1d972ded2..b733580d3f6eef051460b1e7fc8b2b2c02135903 100644 (file)
@@ -986,7 +986,7 @@ read_again:
 
                cur_ptr = &ptr[ptr_ofs];
                if (!trace_parse_timestamp(cur_ptr, cur + tr->ts_ofs))
-                       continue;
+                       goto next_line;
 
                cur_ptr->start = data_ofs;
                cur_ptr->len = strlen(line);