[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <e303dccf-7809-833a-58c7-e347d7c17610@kernel.org>
Date: Thu, 21 Sep 2023 13:03:19 -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 2/8] inet: implement lockless IP_MTU_DISCOVER
On 9/21/23 7:30 AM, Eric Dumazet wrote:
> inet->pmtudisc can be read locklessly.
>
> Implement proper lockless reads and writes to inet->pmtudisc
>
> ip_sock_set_mtu_discover() can now be called from arbitrary
> contexts.
>
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
> ---
> include/net/ip.h | 13 ++++++++-----
> net/ipv4/ip_output.c | 7 ++++---
> net/ipv4/ip_sockglue.c | 17 ++++++-----------
> net/ipv4/ping.c | 2 +-
> net/ipv4/raw.c | 2 +-
> net/ipv4/udp.c | 2 +-
> net/netfilter/ipvs/ip_vs_sync.c | 2 +-
> 7 files changed, 22 insertions(+), 23 deletions(-)
>
Reviewed-by: David Ahern <dsahern@...nel.org>
Powered by blists - more mailing lists