diff options
author | Frederic Weisbecker <fweisbec@gmail.com> | 2009-11-26 05:35:40 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-11-26 09:29:20 +0100 |
commit | d99be40aff88722ab03ee295e4f6c13a4cca9a3d (patch) | |
tree | 53b362f02793d2cf1ca78f1d60ad26c1c5a1450e /samples/hw_breakpoint/data_breakpoint.c | |
parent | 470dda7417f284b9cfc96560b2acd98df63798a2 (diff) | |
download | op-kernel-dev-d99be40aff88722ab03ee295e4f6c13a4cca9a3d.zip op-kernel-dev-d99be40aff88722ab03ee295e4f6c13a4cca9a3d.tar.gz |
ksym_tracer: Fix breakpoint removal after modification
The error path of a breakpoint modification is broken in
the ksym tracer. A modified breakpoint hlist node is immediately
released after its removal. Also we leak a breakpoint in this
case.
Fix the path.
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Prasad <prasad@linux.vnet.ibm.com>
LKML-Reference: <1259210142-5714-1-git-send-regression-fweisbec@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'samples/hw_breakpoint/data_breakpoint.c')
0 files changed, 0 insertions, 0 deletions