net/ipv6: Move rcu locking to callers of fib6_get_cookie_safe
authorDavid Ahern <dsahern@gmail.com>
Fri, 20 Apr 2018 22:38:00 +0000 (15:38 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 21 Apr 2018 20:06:13 +0000 (16:06 -0400)
commita87b7dc9f7fa7c87cbd575361553e8e9e4ab4473
tree43496ce1a064a81166e64d01017bf5f03158c80a
parent4d85cd0c2a1ce22a9aca1fa668ba11043c834bbc
net/ipv6: Move rcu locking to callers of fib6_get_cookie_safe

A later patch protects 'from' in rt6_info and this simplifies the
locking needed by it.

Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/ip6_fib.h
net/ipv6/route.c