lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Thu, 21 Sep 2023 13:24:50 -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 8/8] inet: implement lockless
 getsockopt(IP_MULTICAST_IF)

On 9/21/23 7:30 AM, Eric Dumazet wrote:
> Add missing annotations to inet->mc_index and inet->mc_addr
> to fix data-races.
> 
> getsockopt(IP_MULTICAST_IF) can be lockless.
> 
> setsockopt() side is left for later.
> 
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
> ---
>  net/ipv4/datagram.c    |  4 ++--
>  net/ipv4/ip_sockglue.c | 25 ++++++++++++-------------
>  net/ipv4/ping.c        |  4 ++--
>  net/ipv4/raw.c         |  4 ++--
>  net/ipv4/udp.c         |  4 ++--
>  5 files changed, 20 insertions(+), 21 deletions(-)
> 


Reviewed-by: David Ahern <dsahern@...nel.org>



Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ