Thread (3 messages) flat view 3 messages, 3 authors, 2023-02-13

Re: [PATCH] net: Fix unwanted sign extension in netdev_stats_to_stats64()

From: patchwork-bot+netdevbpf@kernel.org
Date: 2023-02-13 10:00:24
Also in: lkml

Hello:

This patch was applied to netdev/net.git (master)
by David S. Miller [off-list ref]:

On Fri, 10 Feb 2023 13:36:44 +0100 you wrote:
From: Felix Riemann <redacted>

When converting net_device_stats to rtnl_link_stats64 sign extension
is triggered on ILP32 machines as 6c1c509778 changed the previous
"ulong -> u64" conversion to "long -> u64" by accessing the
net_device_stats fields through a (signed) atomic_long_t.

[...]
Here is the summary with links:
  - net: Fix unwanted sign extension in netdev_stats_to_stats64()
    https://git.kernel.org/netdev/net/c/9b55d3f0a69a

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

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help