summaryrefslogtreecommitdiffstats
path: root/net/compat.c
diff options
context:
space:
mode:
authorDavid Ahern2017-05-25 19:42:34 +0200
committerDavid S. Miller2017-05-26 20:12:49 +0200
commit5510cdf7be042a1943222e19912f13a396c0b914 (patch)
tree4ad5b4a3628ef631a26d740eda811e74b830931f /net/compat.c
parentnet: ipv4: refactor __ip_route_output_key_hash (diff)
downloadkernel-qcow2-linux-5510cdf7be042a1943222e19912f13a396c0b914.tar.gz
kernel-qcow2-linux-5510cdf7be042a1943222e19912f13a396c0b914.tar.xz
kernel-qcow2-linux-5510cdf7be042a1943222e19912f13a396c0b914.zip
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>
Diffstat (limited to 'net/compat.c')
0 files changed, 0 insertions, 0 deletions