Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 188882
b: refs/heads/master
c: 634a4b2
h: refs/heads/master
v: v3
  • Loading branch information
Paul E. McKenney authored and David S. Miller committed Mar 22, 2010
1 parent 0bb4c87 commit 88b47a0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 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: af98441397227a5a4f212cd48710eea72a14dbdb
refs/heads/master: 634a4b2038a6eba4c211fb906fa2f6ec9a4bbfc7
4 changes: 3 additions & 1 deletion trunk/net/ipv4/fib_trie.c
Original file line number Diff line number Diff line change
Expand Up @@ -961,7 +961,9 @@ fib_find_node(struct trie *t, u32 key)
struct node *n;

pos = 0;
n = rcu_dereference(t->trie);
n = rcu_dereference_check(t->trie,
rcu_read_lock_held() ||
lockdep_rtnl_is_held());

while (n != NULL && NODE_TYPE(n) == T_TNODE) {
tn = (struct tnode *) n;
Expand Down

0 comments on commit 88b47a0

Please sign in to comment.