Files
Linux/kernel
Oleg Nesterov 878b5a6efd uprobes: Fix utask->depth accounting in handle_trampoline()
Currently utask->depth is simply the number of allocated/pending
return_instance's in uprobe_task->return_instances list.

handle_trampoline() should decrement this counter every time we
handle/free an instance, but due to typo it does this only if
->chained == T. This means that in the likely case this counter
is never decremented and the probed task can't report more than
MAX_URETPROBE_DEPTH events.

Reported-by: Mikhail Kulemin <[email protected]>
Reported-by: Hemant Kumar Shaw <[email protected]>
Signed-off-by: Oleg Nesterov <[email protected]>
Acked-by: Anton Arapov <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
2013-09-12 08:00:55 +02:00
..
2013-04-22 07:09:06 -07:00
…
…
…
…
2013-04-15 13:25:16 +02:00
2013-06-25 23:11:19 +02:00
…
…
2012-12-20 17:40:19 -08:00
…
2013-07-02 15:38:19 +09:30
2013-07-03 16:08:05 -07:00
2013-08-18 17:39:45 -07:00
2013-05-05 00:16:35 -04:00
…
…