aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/notifier.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/notifier.c')
-rw-r--r--kernel/notifier.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/kernel/notifier.c b/kernel/notifier.c
index 2488ba7..76eea1e 100644
--- a/kernel/notifier.c
+++ b/kernel/notifier.c
@@ -95,8 +95,11 @@ static int __kprobes notifier_call_chain(struct notifier_block **nl,
if (nr_calls)
(*nr_calls)++;
- if ((ret & NOTIFY_STOP_MASK) == NOTIFY_STOP_MASK)
+ if ((ret & NOTIFY_STOP_MASK) == NOTIFY_STOP_MASK) {
+ pr_info("notifier_call_chain : NOTIFY BAD %pf\n",
+ nb->notifier_call);
break;
+ }
nb = next_nb;
nr_to_call--;
}