[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <bd4dad72-2f4f-79a0-8660-fd5ea6f95c06@kernel.org>
Date: Thu, 14 Sep 2023 09:10:20 -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 13/14] ipv6: lockless IPV6_MTU_DISCOVER
implementation
On 9/12/23 10:02 AM, Eric Dumazet wrote:
> Most np->pmtudisc reads are racy.
>
> Move this 3bit field on a full byte, add annotations
> and make IPV6_MTU_DISCOVER setsockopt() lockless.
>
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
> ---
> include/linux/ipv6.h | 5 ++---
> include/net/ip6_route.h | 14 +++++++++-----
> net/ipv6/ip6_output.c | 4 ++--
> net/ipv6/ipv6_sockglue.c | 17 ++++++++---------
> net/ipv6/raw.c | 2 +-
> net/ipv6/udp.c | 2 +-
> net/netfilter/ipvs/ip_vs_sync.c | 2 +-
> 7 files changed, 24 insertions(+), 22 deletions(-)
>
Reviewed-by: David Ahern <dsahern@...nel.org>
Powered by blists - more mailing lists