[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <164338261153.2420.3816050464539840623.git-patchwork-notify@kernel.org>
Date: Fri, 28 Jan 2022 15:10:11 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Haiyue Wang <haiyue.wang@...el.com>
Cc: netdev@...r.kernel.org, jeroendb@...gle.com, csully@...gle.com,
awogbemila@...gle.com, davem@...emloft.net, kuba@...nel.org,
bcf@...gle.com, willemb@...gle.com, shailend@...gle.com,
yangchun@...gle.com, sagis@...gle.com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] gve: fix the wrong AdminQ buffer queue index check
Hello:
This patch was applied to netdev/net.git (master)
by David S. Miller <davem@...emloft.net>:
On Fri, 28 Jan 2022 18:47:14 +0800 you wrote:
> The 'tail' and 'head' are 'unsigned int' type free-running count, when
> 'head' is overflow, the 'int i (= tail) < u32 head' will be false:
>
> Only '- loop 0: idx = 63' result is shown, so it needs to use 'int' type
> to compare, it can handle the overflow correctly.
>
> typedef uint32_t u32;
>
> [...]
Here is the summary with links:
- [v2] gve: fix the wrong AdminQ buffer queue index check
https://git.kernel.org/netdev/net/c/1f84a9450d75
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