Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 188886
b: refs/heads/master
c: e3a61d4
h: refs/heads/master
v: v3
  • Loading branch information
David S. Miller committed Mar 22, 2010
1 parent 17421e4 commit 30f585f
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: c2c77ec83bdad17fb688557b5b3fdc36661dd1c6
refs/heads/master: e3a61d47cc37c51834abe537e0ed685829d56ee2
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 30f585f

Please sign in to comment.