diff options
| author | Masami Hiramatsu (Google) <mhiramat@kernel.org> | 2026-03-19 18:12:19 +0900 |
|---|---|---|
| committer | Steven Rostedt (Google) <rostedt@goodmis.org> | 2026-03-21 16:47:28 -0400 |
| commit | f35dbac6942171dc4ce9398d1d216a59224590a9 (patch) | |
| tree | 8ed9093aa20f8e815b42ae416cc201b94ffebc30 /scripts/rt-tester/git@git.tavy.me:linux.git | |
| parent | 07183aac4a6828e474f00b37c9d795d0d99e18a7 (diff) | |
ring-buffer: Fix to update per-subbuf entries of persistent ring buffer
Since the validation loop in rb_meta_validate_events() updates the same
cpu_buffer->head_page->entries, the other subbuf entries are not updated.
Fix to use head_page to update the entries field, since it is the cursor
in this loop.
Cc: stable@vger.kernel.org
Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Cc: Ian Rogers <irogers@google.com>
Fixes: 5f3b6e839f3c ("ring-buffer: Validate boot range memory events")
Link: https://patch.msgid.link/177391153882.193994.17158784065013676533.stgit@mhiramat.tok.corp.google.com
Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Diffstat (limited to 'scripts/rt-tester/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
