[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <164992081083.17585.16175913708091527817.git-patchwork-notify@kernel.org>
Date: Thu, 14 Apr 2022 07:20:10 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Petr Machata <petrm@...dia.com>
Cc: netdev@...r.kernel.org, davem@...emloft.net, kuba@...nel.org,
idosch@...dia.com
Subject: Re: [PATCH net] rtnetlink: Fix handling of disabled L3 stats in
RTM_GETSTATS replies
Hello:
This patch was applied to netdev/net.git (master)
by Paolo Abeni <pabeni@...hat.com>:
On Tue, 12 Apr 2022 22:25:06 +0200 you wrote:
> When L3 stats are disabled, rtnl_offload_xstats_get_size_stats() returns
> size of 0, which is supposed to be an indication that the corresponding
> attribute should not be emitted. However, instead, the current code
> reserves a 0-byte attribute.
>
> The reason this does not show up as a citation on a kasan kernel is that
> netdev_offload_xstats_get(), which is supposed to fill in the data, never
> ends up getting called, because rtnl_offload_xstats_get_stats() notices
> that the stats are not actually used and skips the call.
>
> [...]
Here is the summary with links:
- [net] rtnetlink: Fix handling of disabled L3 stats in RTM_GETSTATS replies
https://git.kernel.org/netdev/net/c/23cfe941b52e
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