[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <9d7a8ee2-3793-b1f0-6647-9eef70ce2dd3@gmail.com>
Date: Thu, 21 Feb 2019 09:57:30 -0500
From: David Ahern <dsahern@...il.com>
To: Paolo Abeni <pabeni@...hat.com>, netdev@...r.kernel.org
Cc: "David S. Miller" <davem@...emloft.net>
Subject: Re: [PATCH net v2 1/2] ipv6: route: enforce RCU protection in
rt6_update_exception_stamp_rt()
On 2/21/19 5:19 AM, Paolo Abeni wrote:
> 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@...hat.com>
> ---
> net/ipv6/route.c | 11 ++++++-----
> 1 file changed, 6 insertions(+), 5 deletions(-)
>
Reviewed-by: David Ahern <dsahern@...il.com>
Thanks for fixing.
Powered by blists - more mailing lists