[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <167955062198.14332.10004881642462868350.git-patchwork-notify@kernel.org>
Date: Thu, 23 Mar 2023 05:50:21 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Nick Child <nnac123@...ux.ibm.com>
Cc: netdev@...r.kernel.org, piotr.raczynski@...el.com
Subject: Re: [PATCH net-next v2 1/2] net: Catch invalid index in XPS mapping
Hello:
This series was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@...nel.org>:
On Tue, 21 Mar 2023 10:07:24 -0500 you wrote:
> When setting the XPS value of a TX queue, warn the user once if the
> index of the queue is greater than the number of allocated TX queues.
>
> Previously, this scenario went uncaught. In the best case, it resulted
> in unnecessary allocations. In the worst case, it resulted in
> out-of-bounds memory references through calls to `netdev_get_tx_queue(
> dev, index)`. Therefore, it is important to inform the user but not
> worth returning an error and risk downing the netdevice.
>
> [...]
Here is the summary with links:
- [net-next,v2,1/2] net: Catch invalid index in XPS mapping
https://git.kernel.org/netdev/net-next/c/5dd0dfd55bae
- [net-next,v2,2/2] netdev: Enforce index cap in netdev_get_tx_queue
https://git.kernel.org/netdev/net-next/c/1cc6571f5627
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