[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2453b4d3-55a2-ca52-c4f6-81bbaa3d0c5b@kernel.org>
Date: Thu, 14 Sep 2023 08:51:53 -0600
From: David Ahern <dsahern@...nel.org>
To: Eric Dumazet <edumazet@...gle.com>, "David S . Miller"
<davem@...emloft.net>, Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>
Cc: netdev@...r.kernel.org, eric.dumazet@...il.com
Subject: Re: [PATCH net-next 01/14] ipv6: lockless IPV6_UNICAST_HOPS
implementation
On 9/12/23 10:01 AM, Eric Dumazet wrote:
> Some np->hop_limit accesses are racy, when socket lock is not held.
>
> Add missing annotations and switch to full lockless implementation.
>
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
> ---
> include/linux/ipv6.h | 12 +-----------
> include/net/ipv6.h | 2 +-
> net/ipv6/ip6_output.c | 2 +-
> net/ipv6/ipv6_sockglue.c | 20 +++++++++++---------
> net/ipv6/mcast.c | 2 +-
> net/ipv6/ndisc.c | 2 +-
> 6 files changed, 16 insertions(+), 24 deletions(-)
>
Reviewed-by: David Ahern <dsahern@...nel.org>
Powered by blists - more mailing lists