Thread View: linux.kernel.netdev
1 messages
1 total messages
Started by patchwork-bot+netdevbpf
Thu, 05 Nov 2026 14:10
Re: [PATCH net] dpaa2-switch: fix port cleanup on probe errors
Author: patchwork-bot+netdevbpf
Date: Thu, 05 Nov 2026 14:10
Date: Thu, 05 Nov 2026 14:10
27 lines
8807 bytes
8807 bytes
Hello:
This patch was applied to netdev/net-next.git (main)
by Paolo Abeni <pabeni@redhat.com>:
On Mon, 02 Nov 2026 07:13:18 +0000 you wrote:
> dpaa2_switch_probe() reuses i while probing ports, adding NAPI
> instances, registering netdevs, and unwinding failures. Consequently,
> the value reaching the port removal loop does not always represent the
> number of successfully probed ports.
>
> If IRQ setup fails, i is left equal to DPAA2_SWITCH_RX_NUM_FQS. A
> switch with one interface then causes the unwind path to access
> ports[1] out of bounds, while a switch with more than two interfaces
> leaks all ports after ports[1].
>
> [...]
Here is the summary with links:
- [net] dpaa2-switch: fix port cleanup on probe errors
https://git.kernel.org/netdev/net-next/c/0822d2fe3826
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads