commit | 5510cdf7be042a1943222e19912f13a396c0b914 | [log] [tgz] |
---|---|---|
author | David Ahern <dsahern@gmail.com> | Thu May 25 10:42:34 2017 -0700 |
committer | David S. Miller <davem@davemloft.net> | Fri May 26 14:12:49 2017 -0400 |
tree | 4ad5b4a3628ef631a26d740eda811e74b830931f | |
parent | 3abd1ade6765e8edcccad6a9e1039cc709e65dde [diff] |
net: ipv4: refactor ip_route_input_noref A later patch wants access to the fib result on an input route lookup with the rcu lock held. Refactor ip_route_input_noref pushing the logic between rcu_read_lock ... rcu_read_unlock into a new helper that takes the fib_result as an input arg. Signed-off-by: David Ahern <dsahern@gmail.com> Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com> Signed-off-by: David S. Miller <davem@davemloft.net>