Re: [PATCH net v2] net/sched: fix netdevice reference leaks in attach_default_qdiscs()

From: patchwork-bot+netdevbpf
Date: Tue Aug 30 2022 - 09:55:51 EST


Hello:

This patch was applied to netdev/net.git (master)
by Paolo Abeni <pabeni@xxxxxxxxxx>:

On Fri, 26 Aug 2022 17:00:55 +0800 you wrote:
> In attach_default_qdiscs(), if a dev has multiple queues and queue 0 fails
> to attach qdisc because there is no memory in attach_one_default_qdisc().
> Then dev->qdisc will be noop_qdisc by default. But the other queues may be
> able to successfully attach to default qdisc.
>
> In this case, the fallback to noqueue process will be triggered. If the
> original attached qdisc is not released and a new one is directly
> attached, this will cause netdevice reference leaks.
>
> [...]

Here is the summary with links:
- [net,v2] net/sched: fix netdevice reference leaks in attach_default_qdiscs()
https://git.kernel.org/netdev/net/c/f612466ebecb

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