Files
Linux/kernel
Chunyu Hu c8ca003b2f tracing: Fix return while holding a lock in register_tracer()
commit d39cdd2036 ("tracing: Make tracer_flags use the right set_flag
callback")  introduces a potential mutex deadlock issue, as it forgets to
free the mutex when allocaing the tracer_flags gets fail.

The issue was found by Dan Carpenter through Smatch static code check tool.

Link: http://lkml.kernel.org/r/[email protected]

Fixes: d39cdd2036 ("tracing: Make tracer_flags use the right set_flag callback")
Reported-by: Dan Carpenter <[email protected]>
Signed-off-by: Chunyu Hu <[email protected]>
Signed-off-by: Steven Rostedt <[email protected]>
2016-03-18 10:36:21 -04:00
..
2015-12-04 22:46:25 +01:00
…
2015-11-19 17:51:48 +01:00
2016-01-22 18:04:28 -05:00
2016-01-22 18:04:28 -05:00
…
2015-12-14 14:54:37 -05:00
…
…
…
…
2016-01-14 16:00:49 -08:00
…
2016-01-26 11:08:35 +01:00
…
2015-11-23 09:44:58 +01:00
…
…
…
2016-01-22 18:04:28 -05:00
…
…
…
…
…
…
…