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: 
 <168431222051.29655.1253004493609518704.git-patchwork-notify@kernel.org>
Date: Wed, 17 May 2023 08:30:20 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Tony Nguyen <anthony.l.nguyen@...el.com>
Cc: davem@...emloft.net, kuba@...nel.org, pabeni@...hat.com,
 edumazet@...gle.com, netdev@...r.kernel.org, aleksandr.loktionov@...el.com,
 jgarzik@...hat.com, himasekharx.reddy.pucha@...el.com
Subject: Re: [PATCH net] igb: fix bit_shift to be in [1..8] range

Hello:

This patch was applied to netdev/net.git (main)
by David S. Miller <davem@...emloft.net>:

On Tue, 16 May 2023 10:41:46 -0700 you wrote:
> From: Aleksandr Loktionov <aleksandr.loktionov@...el.com>
> 
> In igb_hash_mc_addr() the expression:
>         "mc_addr[4] >> 8 - bit_shift", right shifting "mc_addr[4]"
> shift by more than 7 bits always yields zero, so hash becomes not so different.
> Add initialization with bit_shift = 1 and add a loop condition to ensure
> bit_shift will be always in [1..8] range.
> 
> [...]

Here is the summary with links:
  - [net] igb: fix bit_shift to be in [1..8] range
    https://git.kernel.org/netdev/net/c/60d758659f1f

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