The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [for-linus][PATCH 0/2] tracing: Fixes for 6.11
@ 2024-08-16 12:16 Steven Rostedt
  2024-08-16 12:16 ` [for-linus][PATCH 1/2] tracing: Return from tracing_buffers_read() if the file has been closed Steven Rostedt
  2024-08-16 12:16 ` [for-linus][PATCH 2/2] rtla/osnoise: Prevent NULL dereference in error handling Steven Rostedt
  0 siblings, 2 replies; 3+ messages in thread
From: Steven Rostedt @ 2024-08-16 12:16 UTC (permalink / raw)
  To: linux-kernel
  Cc: Masami Hiramatsu, Mark Rutland, Mathieu Desnoyers, Andrew Morton


A couple of fixes for tracing:

- Prevent a NULL pointer dereference in the error path of rtla

- Fix an infinite loop bug when reading from the ring buffer when closed.
  If there's a thread trying to read the ring buffer and it gets closed
  by another thread, the one reading will go into an infinite loop
  when the buffer is empty instead of exiting back to user space.

  git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace.git
trace/urgent

Head SHA1: 90574d2a675947858b47008df8d07f75ea50d0d0


Dan Carpenter (1):
      rtla/osnoise: Prevent NULL dereference in error handling

Steven Rostedt (1):
      tracing: Return from tracing_buffers_read() if the file has been closed

----
 kernel/trace/trace.c                 |  2 +-
 tools/tracing/rtla/src/osnoise_top.c | 11 ++++-------
 2 files changed, 5 insertions(+), 8 deletions(-)

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-08-16 12:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-16 12:16 [for-linus][PATCH 0/2] tracing: Fixes for 6.11 Steven Rostedt
2024-08-16 12:16 ` [for-linus][PATCH 1/2] tracing: Return from tracing_buffers_read() if the file has been closed Steven Rostedt
2024-08-16 12:16 ` [for-linus][PATCH 2/2] rtla/osnoise: Prevent NULL dereference in error handling Steven Rostedt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox