Thread (2 messages) 2 messages, 2 authors, 2022-08-31

Re: [PATCH net] ethernet: rocker: fix sleep in atomic context bug in neigh_timer_handler

From: patchwork-bot+netdevbpf@kernel.org
Date: 2022-08-31 13:10:21
Also in: lkml

Hello:

This patch was applied to netdev/net.git (master)
by David S. Miller [off-list ref]:

On Sat, 27 Aug 2022 23:38:15 +0800 you wrote:
The function neigh_timer_handler() is a timer handler that runs in an
atomic context. When used by rocker, neigh_timer_handler() calls
"kzalloc(.., GFP_KERNEL)" that may sleep. As a result, the sleep in
atomic context bug will happen. One of the processes is shown below:

ofdpa_fib4_add()
 ...
 neigh_add_timer()

[...]
Here is the summary with links:
  - [net] ethernet: rocker: fix sleep in atomic context bug in neigh_timer_handler
    https://git.kernel.org/netdev/net/c/c0955bf957be

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