Re: [ovs-dev] [PATCH net v2] openvswitch: meter: fix race when getting now_ms.
From: patchwork-bot+netdevbpf
Date: Thu May 13 2021 - 19:00:15 EST
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