Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 29665
b: refs/heads/master
c: bbb1747
h: refs/heads/master
i:
  29663: 7f4d897
v: v3
  • Loading branch information
Alan Stern authored and Linus Torvalds committed Jun 25, 2006
1 parent 0ba43ee commit 6941bc7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: bfe5d834195b3089b8846577311340376cc0f450
refs/heads/master: bbb1747d4e44ce49acc73daa8d66e5f6bd546f1b
5 changes: 3 additions & 2 deletions trunk/kernel/sys.c
Original file line number Diff line number Diff line change
Expand Up @@ -137,14 +137,15 @@ static int __kprobes notifier_call_chain(struct notifier_block **nl,
unsigned long val, void *v)
{
int ret = NOTIFY_DONE;
struct notifier_block *nb;
struct notifier_block *nb, *next_nb;

nb = rcu_dereference(*nl);
while (nb) {
next_nb = rcu_dereference(nb->next);
ret = nb->notifier_call(nb, val, v);
if ((ret & NOTIFY_STOP_MASK) == NOTIFY_STOP_MASK)
break;
nb = rcu_dereference(nb->next);
nb = next_nb;
}
return ret;
}
Expand Down

0 comments on commit 6941bc7

Please sign in to comment.