Home
last modified time | relevance | path

Searched hist:"193 f3685d0546b0cea20c99894aadb70098e47bf" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/net/ipv6/
H A Droute.cdiff 193f3685d0546b0cea20c99894aadb70098e47bf Thu Feb 21 04:19:41 CST 2019 Paolo Abeni <pabeni@redhat.com> ipv6: route: enforce RCU protection in rt6_update_exception_stamp_rt()

We must access rt6_info->from under RCU read lock: move the
dereference under such lock, with proper annotation.

v1 -> v2:
- avoid using multiple, racy, fetch operations for rt->from

Fixes: a68886a69180 ("net/ipv6: Make from in rt6_info rcu protected")
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Reviewed-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>