summaryrefslogtreecommitdiffstats
path: root/include/net/ip6_fib.h
diff options
context:
space:
mode:
authorDavid Ahern2018-04-21 00:37:59 +0200
committerDavid S. Miller2018-04-21 22:06:13 +0200
commit4d85cd0c2a1ce22a9aca1fa668ba11043c834bbc (patch)
tree766f39e4a23d638e52e0485569ee98c35caeaeeb /include/net/ip6_fib.h
parentnet/ipv6: Rename rt6_get_cookie_safe (diff)
downloadkernel-qcow2-linux-4d85cd0c2a1ce22a9aca1fa668ba11043c834bbc.tar.gz
kernel-qcow2-linux-4d85cd0c2a1ce22a9aca1fa668ba11043c834bbc.tar.xz
kernel-qcow2-linux-4d85cd0c2a1ce22a9aca1fa668ba11043c834bbc.zip
net/ipv6: Move rcu_read_lock to callers of ip6_rt_cache_alloc
A later patch protects 'from' in rt6_info and this simplifies the locking needed by it. With the move, the fib6_info_hold for the uncached_rt is no longer needed since the rcu_lock is still held. Signed-off-by: David Ahern <dsahern@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/ip6_fib.h')
0 files changed, 0 insertions, 0 deletions