Re: [PATCH net] net: hns3: fix kernel crash when uninstalling driver
From: patchwork-bot+netdevbpf
Date: Tue Nov 05 2024 - 08:00:34 EST
Hello:
This patch was applied to netdev/net.git (main)
by Paolo Abeni <pabeni@xxxxxxxxxx>:
On Fri, 1 Nov 2024 17:15:07 +0800 you wrote:
> From: Peiyang Wang <wangpeiyang1@xxxxxxxxxx>
>
> When the driver is uninstalled and the VF is disabled concurrently, a
> kernel crash occurs. The reason is that the two actions call function
> pci_disable_sriov(). The num_VFs is checked to determine whether to
> release the corresponding resources. During the second calling, num_VFs
> is not 0 and the resource release function is called. However, the
> corresponding resource has been released during the first invoking.
> Therefore, the problem occurs:
>
> [...]
Here is the summary with links:
- [net] net: hns3: fix kernel crash when uninstalling driver
https://git.kernel.org/netdev/net/c/df3dff8ab6d7
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html