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]
Message-Id: 
 <175820762049.2450229.11267031301923458832.git-patchwork-notify@kernel.org>
Date: Thu, 18 Sep 2025 15:00:20 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Cosmin Ratiu <cratiu@...dia.com>
Cc: netdev@...r.kernel.org, jiri@...nulli.us, davem@...emloft.net,
 edumazet@...gle.com, kuba@...nel.org, pabeni@...hat.com, horms@...nel.org,
 vladbu@...dia.com, dlinkin@...dia.com
Subject: Re: [PATCH net] devlink rate: Remove unnecessary 'static' from a
 couple
 places

Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@...nel.org>:

On Thu, 18 Sep 2025 13:15:06 +0300 you wrote:
> devlink_rate_node_get_by_name() and devlink_rate_nodes_destroy() have a
> couple of unnecessary static variables for iterating over devlink rates.
> 
> This could lead to races/corruption/unhappiness if two concurrent
> operations execute the same function.
> 
> Remove 'static' from both. It's amazing this was missed for 4+ years.
> While at it, I confirmed there are no more examples of this mistake in
> net/ with 1, 2 or 3 levels of indentation.
> 
> [...]

Here is the summary with links:
  - [net] devlink rate: Remove unnecessary 'static' from a couple places
    https://git.kernel.org/netdev/net/c/3191df0a4882

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ