commit | 193f3685d0546b0cea20c99894aadb70098e47bf | [log] [tgz] |
---|---|---|
author | Paolo Abeni <pabeni@redhat.com> | Thu Feb 21 11:19:41 2019 +0100 |
committer | David S. Miller <davem@davemloft.net> | Thu Feb 21 09:54:35 2019 -0800 |
tree | 693039efcc7acddb5d6821414b54ebc7e102ab8c | |
parent | ae3b564179bfd06f32d051b9e5d72ce4b2a07c37 [diff] |
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>