Thread (2 messages) flat view 2 messages, 2 authors, 2020-12-19

Re: [PATCH net] net/sched: sch_taprio: ensure to reset/destroy all child qdiscs

From: patchwork-bot+netdevbpf@kernel.org
Date: 2020-12-19 00:51:04

Hello:

This patch was applied to netdev/net.git (refs/heads/master):

On Thu, 17 Dec 2020 22:29:46 +0100 you wrote:
taprio_graft() can insert a NULL element in the array of child qdiscs. As
a consquence, taprio_reset() might not reset child qdiscs completely, and
taprio_destroy() might leak resources. Fix it by ensuring that loops that
iterate over q->qdiscs[] don't end when they find the first NULL item.

Fixes: 44d4775ca518 ("net/sched: sch_taprio: reset child qdiscs before freeing them")
Fixes: 5a781ccbd19e ("tc: Add support for configuring the taprio scheduler")
Suggested-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Davide Caratti <redacted>

[...]
Here is the summary with links:
  - [net] net/sched: sch_taprio: ensure to reset/destroy all child qdiscs
    https://git.kernel.org/netdev/net/c/698285da79f5

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

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help