[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <163205040896.14261.9966381063593908675.git-patchwork-notify@kernel.org>
Date: Sun, 19 Sep 2021 11:20:08 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Claudiu Manoil <claudiu.manoil@....com>
Cc: netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
davem@...emloft.net, kuba@...nel.org
Subject: Re: [PATCH net] enetc: Fix uninitialized struct dim_sample field usage
Hello:
This patch was applied to netdev/net.git (refs/heads/master):
On Fri, 17 Sep 2021 13:22:06 +0300 you wrote:
> The only struct dim_sample member that does not get
> initialized by dim_update_sample() is comp_ctr. (There
> is special API to initialize comp_ctr:
> dim_update_sample_with_comps(), and it is currently used
> only for RDMA.) comp_ctr is used to compute curr_stats->cmps
> and curr_stats->cpe_ratio (see dim_calc_stats()) which in
> turn are consumed by the rdma_dim_*() API. Therefore,
> functionally, the net_dim*() API consumers are not affected.
> Nevertheless, fix the computation of statistics based
> on an uninitialized variable, even if the mentioned statistics
> are not used at the moment.
>
> [...]
Here is the summary with links:
- [net] enetc: Fix uninitialized struct dim_sample field usage
https://git.kernel.org/netdev/net/c/9f7afa05c952
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