Thread (4 messages) 4 messages, 4 authors, 2023-06-24

Re: [PATCH net] sch_netem: fix issues in netem_change() vs get_dist_table()

From: patchwork-bot+netdevbpf@kernel.org
Date: 2023-06-24 22:20:19

Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski [off-list ref]:

On Thu, 22 Jun 2023 18:15:03 +0000 you wrote:
In blamed commit, I missed that get_dist_table() was allocating
memory using GFP_KERNEL, and acquiring qdisc lock to perform
the swap of newly allocated table with current one.

In this patch, get_dist_table() is allocating memory and
copy user data before we acquire the qdisc lock.

[...]
Here is the summary with links:
  - [net] sch_netem: fix issues in netem_change() vs get_dist_table()
    https://git.kernel.org/netdev/net/c/11b73313c124

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