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: <CANn89i+wyBVnG0nx0jeWodfeJoZ0-P_H+mzBTaZ5iRtkAKkrDA@mail.gmail.com>
Date: Mon, 25 Aug 2025 06:59:11 -0700
From: Eric Dumazet <edumazet@...gle.com>
To: Kuniyuki Iwashima <kuniyu@...gle.com>
Cc: "David S. Miller" <davem@...emloft.net>, Jakub Kicinski <kuba@...nel.org>, 
	Paolo Abeni <pabeni@...hat.com>, Neal Cardwell <ncardwell@...gle.com>, 
	David Ahern <dsahern@...nel.org>, Simon Horman <horms@...nel.org>, 
	Kuniyuki Iwashima <kuni1840@...il.com>, netdev@...r.kernel.org
Subject: Re: [PATCH v2 net-next 4/6] tcp: Don't pass hashinfo to socket lookup helpers.

On Fri, Aug 22, 2025 at 12:08 PM Kuniyuki Iwashima <kuniyu@...gle.com> wrote:
>
> These socket lookup functions required struct inet_hashinfo because
> they are shared by TCP and DCCP.
>
>   * __inet_lookup_established()
>   * __inet_lookup_listener()
>   * __inet6_lookup_established()
>   * inet6_lookup_listener()
>
> DCCP has gone, and we don't need to pass hashinfo down to them.
>
> Let's fetch net->ipv4.tcp_death_row.hashinfo directly in the above
> 4 functions.
>
> Signed-off-by: Kuniyuki Iwashima <kuniyu@...gle.com>
> ---

Okay, although this is a lot of code churn.

Reviewed-by: Eric Dumazet <edumazet@...gle.com>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ