From: Eric Dumazet Date: Tue, 26 Oct 2010 03:24:16 +0000 (+0000) Subject: fib_hash: fix rcu sparse and logical errors X-Git-Tag: v2.6.37-rc1~88^2~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ded85aa86bff953190cb893fceeecaadcab53a80;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed