commit | bf1dc8bad1d42287164d216d8efb51c5cd381b18 | [log] [tgz] |
---|---|---|
author | Paolo Abeni <pabeni@redhat.com> | Thu Feb 21 11:19:42 2019 +0100 |
committer | David S. Miller <davem@davemloft.net> | Thu Feb 21 09:54:35 2019 -0800 |
tree | 215c82e1182600e409e4b623b7d026671d071582 | |
parent | 193f3685d0546b0cea20c99894aadb70098e47bf [diff] |
ipv6: route: enforce RCU protection in ip6_route_check_nh_onlink() We need a RCU critical section around rt6_info->from deference, and proper annotation. Fixes: 4ed591c8ab44 ("net/ipv6: Allow onlink routes to have a device mismatch if it is the default route") Signed-off-by: Paolo Abeni <pabeni@redhat.com> Reviewed-by: David Ahern <dsahern@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>