Re: [PATCH net] net/smc: Fix pos miscalculation in statistics

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello:

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

On Mon,  9 Oct 2023 16:40:48 +0200 you wrote:
> From: Nils Hoppmann <niho@xxxxxxxxxxxxx>
> 
> SMC_STAT_PAYLOAD_SUB(_smc_stats, _tech, key, _len, _rc) will calculate
> wrong bucket positions for payloads of exactly 4096 bytes and
> (1 << (m + 12)) bytes, with m == SMC_BUF_MAX - 1.
> 
> Intended bucket distribution:
> Assume l == size of payload, m == SMC_BUF_MAX - 1.
> 
> [...]

Here is the summary with links:
  - [net] net/smc: Fix pos miscalculation in statistics
    https://git.kernel.org/netdev/net/c/a950a5921db4

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





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Kernel Development]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Info]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Linux Media]     [Device Mapper]

  Powered by Linux