diff options
author | Paolo Abeni <pabeni@redhat.com> | 2019-02-21 11:19:41 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-02-21 18:54:35 +0100 |
commit | 193f3685d0546b0cea20c99894aadb70098e47bf (patch) | |
tree | 693039efcc7acddb5d6821414b54ebc7e102ab8c /net/smc | |
parent | missing barriers in some of unix_sock ->addr and ->path accesses (diff) | |
download | linux-193f3685d0546b0cea20c99894aadb70098e47bf.tar.xz linux-193f3685d0546b0cea20c99894aadb70098e47bf.zip |
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>
Diffstat (limited to 'net/smc')
0 files changed, 0 insertions, 0 deletions