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] [thread-next>] [day] [month] [year] [list]
Message-ID: <e3639580-5a84-bf03-970d-56163c3f68af@kernel.org>
Date: Thu, 14 Sep 2023 08:55: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 03/14] ipv6: lockless IPV6_MULTICAST_HOPS
 implementation

On 9/12/23 10:02 AM, Eric Dumazet wrote:
> This fixes data-races around np->mcast_hops,
> and make IPV6_MULTICAST_HOPS lockless.
> 
> Note that np->mcast_hops is never negative,
> thus can fit an u8 field instead of s16.
> 
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
> ---
>  include/linux/ipv6.h            |  9 +--------
>  include/net/ipv6.h              |  2 +-
>  net/dccp/ipv6.c                 |  2 +-
>  net/ipv6/ipv6_sockglue.c        | 28 +++++++++++++++-------------
>  net/ipv6/tcp_ipv6.c             |  3 ++-
>  net/netfilter/ipvs/ip_vs_sync.c |  2 +-
>  6 files changed, 21 insertions(+), 25 deletions(-)
> 

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



Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ