Thread (3 messages) 3 messages, 3 authors, 2021-05-13

Re: [ovs-dev] [PATCH net v2] openvswitch: meter: fix race when getting now_ms.

flat view

From: patchwork-bot+netdevbpf@kernel.org
Date: 2021-05-13 23:00:15
Also in: lkml

Hello:

This patch was applied to netdev/net.git (refs/heads/master):

On Thu, 13 May 2021 21:08:00 +0800 you wrote:
We have observed meters working unexpected if traffic is 3+Gbit/s
with multiple connections.

now_ms is not pretected by meter->lock, we may get a negative
long_delta_ms when another cpu updated meter->used, then:
    delta_ms = (u32)long_delta_ms;
which will be a large value.

[...]
Here is the summary with links:
  - [ovs-dev,net,v2] openvswitch: meter: fix race when getting now_ms.
    https://git.kernel.org/netdev/net/c/e4df1b0c2435

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