From: Alexander Duyck Date: Wed, 31 Dec 2014 18:56:24 +0000 (-0800) Subject: fib_trie: Push rcu_read_lock/unlock to callers X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~134^2~312^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=345e9b54268ae065520a7252c182d22ef4591718;p=pandora-kernel.git fib_trie: Push rcu_read_lock/unlock to callers This change is to start cleaning up some of the rcu_read_lock/unlock handling. I realized while reviewing the code there are several spots that I don't believe are being handled correctly or are masking warnings by locally calling rcu_read_lock/unlock instead of calling them at the correct level. A common example is a call to fib_get_table followed by fib_table_lookup. The rcu_read_lock/unlock ought to wrap both but there are several spots where they were not wrapped. Signed-off-by: Alexander Duyck Signed-off-by: David S. Miller --- Reading git-diff-tree failed