Re: [PATCH net-next] hinic: fix bug of wq out of bound access

From: patchwork-bot+netdevbpf
Date: Fri Apr 29 2022 - 21:50:49 EST


Hello:

This patch was applied to netdev/net.git (master)
by Jakub Kicinski <kuba@xxxxxxxxxx>:

On Thu, 28 Apr 2022 20:30:16 +0800 you wrote:
> If wq has only one page, we need to check wqe rolling over page by
> compare end_idx and curr_idx, and then copy wqe to shadow wqe to
> avoid out of bound access.
> This work has been done in hinic_get_wqe, but missed for hinic_read_wqe.
> This patch fixes it, and removes unnecessary MASKED_WQE_IDX().
>
> Fixes: 7dd29ee12865 ("hinic: add sriov feature support")
> Signed-off-by: Qiao Ma <mqaio@xxxxxxxxxxxxxxxxx>
>
> [...]

Here is the summary with links:
- [net-next] hinic: fix bug of wq out of bound access
https://git.kernel.org/netdev/net/c/52b2abef450a

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