commit | ded85aa86bff953190cb893fceeecaadcab53a80 | [log] [tgz] |
---|---|---|
author | Eric Dumazet <eric.dumazet@gmail.com> | Tue Oct 26 03:24:16 2010 +0000 |
committer | David S. Miller <davem@davemloft.net> | Tue Oct 26 11:42:39 2010 -0700 |
tree | abbb2c614d4b1778c2afc34038ac06e0aac14381 | |
parent | ebb9fed2defa55f2ca91c8be582c59612e9940d1 [diff] |
fib_hash: fix rcu sparse and logical errors 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>