git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ebb9fed
)
fib_hash: fix rcu sparse and logical errors
author
Eric Dumazet
<eric.dumazet@gmail.com>
Tue, 26 Oct 2010 03:24:16 +0000
(
03:24
+0000)
committer
David S. Miller
<davem@davemloft.net>
Tue, 26 Oct 2010 18:42:39 +0000
(11:42 -0700)
While fixing CONFIG_SPARSE_RCU_POINTER errors, I had to fix accesses to
fz->fz_hash for real.
- &fz->fz_hash[fn_hash(f->fn_key, fz)]
+ rcu_dereference(fz->fz_hash) + fn_hash(f->fn_key, fz)
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
No differences found