[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <166186681757.11746.2553114028017365543.git-patchwork-notify@kernel.org>
Date: Tue, 30 Aug 2022 13:40:17 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Wang Hai <wanghai38@...wei.com>
Cc: kuba@...nel.org, jhs@...atatu.com, xiyou.wangcong@...il.com,
jiri@...nulli.us, davem@...emloft.net, edumazet@...gle.com,
pabeni@...hat.com, brouer@...hat.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH net v2] net/sched: fix netdevice reference leaks in
attach_default_qdiscs()
Hello:
This patch was applied to netdev/net.git (master)
by Paolo Abeni <pabeni@...hat.com>:
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
Powered by blists - more mailing lists