[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <162988620641.3256.15807737014421094725.git-patchwork-notify@kernel.org>
Date: Wed, 25 Aug 2021 10:10:06 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Song Yoong Siang <yoong.siang.song@...el.com>
Cc: ast@...nel.org, daniel@...earbox.net, davem@...emloft.net,
kuba@...nel.org, hawk@...nel.org, john.fastabend@...il.com,
peppe.cavallaro@...com, alexandre.torgue@...com,
joabreu@...opsys.com, mcoquelin.stm32@...il.com,
boon.leong.ong@...el.com, netdev@...r.kernel.org,
bpf@...r.kernel.org, linux-stm32@...md-mailman.stormreply.com,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
stable@...r.kernel.org
Subject: Re: [PATCH net v2 1/1] net: stmmac: fix kernel panic due to NULL pointer
dereference of xsk_pool
Hello:
This patch was applied to netdev/net.git (refs/heads/master):
On Wed, 25 Aug 2021 08:55:29 +0800 you wrote:
> After free xsk_pool, there is possibility that napi polling is still
> running in the middle, thus causes a kernel crash due to kernel NULL
> pointer dereference of rx_q->xsk_pool and tx_q->xsk_pool.
>
> Fix this by changing the XDP pool setup sequence to:
> 1. disable napi before free xsk_pool
> 2. enable napi after init xsk_pool
>
> [...]
Here is the summary with links:
- [net,v2,1/1] net: stmmac: fix kernel panic due to NULL pointer dereference of xsk_pool
https://git.kernel.org/netdev/net/c/a6451192da26
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