diff options
author | Jim Keniston <jkenisto@us.ibm.com> | 2009-04-21 11:57:36 -0700 |
---|---|---|
committer | Jim Keniston <jkenisto@us.ibm.com> | 2009-04-21 11:57:36 -0700 |
commit | 04f659b4cab24ea27dc91b361419bd29e0e73c55 (patch) | |
tree | 206b820ad342ecc1c334cbeea9afc805aeb0af4b | |
parent | 0a1c696d5db15a899c58443d844912c4a907c1d8 (diff) | |
download | systemtap-steved-04f659b4cab24ea27dc91b361419bd29e0e73c55.tar.gz systemtap-steved-04f659b4cab24ea27dc91b361419bd29e0e73c55.tar.xz systemtap-steved-04f659b4cab24ea27dc91b361419bd29e0e73c55.zip |
Ref-count correctly when deranged handler calls do_exit().
-rw-r--r-- | runtime/uprobes2/uprobes.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/uprobes2/uprobes.c b/runtime/uprobes2/uprobes.c index 9ea05349..07ad3984 100644 --- a/runtime/uprobes2/uprobes.c +++ b/runtime/uprobes2/uprobes.c @@ -2239,7 +2239,8 @@ static u32 uprobe_report_exit(enum utrace_resume_action action, } } up_read(&uproc->rwsem); - if (utask->state == UPTASK_TRAMPOLINE_HIT) + if (utask->state == UPTASK_TRAMPOLINE_HIT || + utask->state == UPTASK_BP_HIT) uprobe_decref_process(uproc); } |